18 lines
412 B
C#
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();
|
|
}
|
|
} |