mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
null check for mac
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user