diff --git a/src/App/Utilities/Crypto.cs b/src/App/Utilities/Crypto.cs index b4176c4c1..46c6fdef8 100644 --- a/src/App/Utilities/Crypto.cs +++ b/src/App/Utilities/Crypto.cs @@ -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)