Exemplo n.º 1
0
 public byte[] Unprotect(byte[] payload)
 {
     return(CryptoHelper.Unprotect(_encryptionKey, _verificationKey, payload));
 }
Exemplo n.º 2
0
 public CryptoService()
 {
     _encryptionKey   = CryptoHelper.GenerateRandomBytes();
     _verificationKey = CryptoHelper.GenerateRandomBytes();
 }