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