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