public static ProtectString ( this self, string input ) : byte[] | ||
self | this | |
input | string | |
return | byte[] |
public static byte[] ProtectString(this DataProtector self, string input)
{
return self.Protect(
Encoding.UTF8.GetBytes(input));
}