public string Decrypt(string input) { try { return(Aes256Helper.Decrypt(input, GetFullPasswordBytesDecrypted())); } catch (FormatException e) { throw new MasterPasswordDecryptionException("Decryption failed", e); } }
public string Ecrypt(string input) { return(Aes256Helper.Encrypt(input, GetFullPasswordBytesDecrypted())); }