1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

store previous key and userid so we can determine if stored crypto is usable before a sync

This commit is contained in:
Kyle Spearrin
2016-08-05 21:59:25 -04:00
parent 2d0bfe1a92
commit d96a94b478
5 changed files with 63 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ namespace Bit.App.Abstractions
{
string Base64Key { get; }
byte[] Key { get; set; }
byte[] PreviousKey { get; }
bool KeyChanged { get; }
string Decrypt(CipherString encyptedValue);
CipherString Encrypt(string plaintextValue);