public void SetKey(byte[] key) { EncryptionHelper encrhelper = new EncryptionHelper(key); if (base64 != null) { str = encrhelper.DecryptToSecureStringFromBase64(base64); base64 = null; } encr = encrhelper; }
public EncryptedString(string base64String, byte[] key) { this.encr = new EncryptionHelper(key); this.str = encr.DecryptToSecureStringFromBase64(base64String); }
public EncryptedString(string base64String, byte[] key) { this.encr = new EncryptionHelper(key); this.str = encr.DecryptToSecureStringFromBase64(base64String); }
public void SetKey(byte[] key) { EncryptionHelper encrhelper = new EncryptionHelper(key); if (base64 != null) { str = encrhelper.DecryptToSecureStringFromBase64(base64); base64 = null; } encr = encrhelper; }