public static string DecryptMachineScope(string encrypted) { return(Cryptor.DecryptHelper(encrypted, Cryptor._entropy, DataProtectionScope.LocalMachine)); }
public static string Decrypt(string encrypted, byte[] entropy) { return(Cryptor.DecryptHelper(encrypted, entropy, DataProtectionScope.CurrentUser)); }
public static string EncryptMachineScope(string clear) { return(Cryptor.EncryptHelper(clear, Cryptor._entropy, DataProtectionScope.LocalMachine)); }
public static string Encrypt(string clear, byte[] entropy) { return(Cryptor.EncryptHelper(clear, entropy, DataProtectionScope.CurrentUser)); }