Files
YouTube-Manager/Manager.YouTube/Util/Cipher/Operations/CipherReverse.cs
2025-10-23 19:27:07 +02:00

18 lines
412 B
C#

using System.Text;
namespace Manager.YouTube.Util.Cipher.Operations;
public class CipherReverse : ICipherOperation
{
public string Decipher(string cipherSignature)
{
var buffer = new StringBuilder(cipherSignature.Length);
for (var i = cipherSignature.Length - 1; i >= 0; i--)
{
buffer.Append(cipherSignature[i]);
}
return buffer.ToString();
}
}