mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
null check for mac
This commit is contained in:
parent
4e8f69f692
commit
d14b23ca82
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ namespace Bit.App.Utilities
|
|||
{
|
||||
var parts = AesCbcEncryptToParts(plainBytes, key);
|
||||
return new CipherString(parts.Item1, Convert.ToBase64String(parts.Item2),
|
||||
Convert.ToBase64String(parts.Item4), Convert.ToBase64String(parts.Item3));
|
||||
Convert.ToBase64String(parts.Item4), parts.Item3 != null ? Convert.ToBase64String(parts.Item3) : null);
|
||||
}
|
||||
|
||||
public static byte[] AesCbcEncryptToBytes(byte[] plainBytes, SymmetricCryptoKey key)
|
||||
|
|
Loading…
Reference in a new issue