File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public static Argon2Parameters GetDefaultArgon2Parameters()
8484 }
8585
8686 Argon2Parameters ? parameters = Argon2Parameters . FromByteArray ( rawParameters ) ;
87-
87+
8888 if ( parameters == null )
8989 {
9090 // This should never happen, we should always be able to deserialize the default parameters.
@@ -928,7 +928,7 @@ public static SigningKeyPair GenerateSigningKeyPair(SignatureVersion version = S
928928 result = Decrypt ( data , key , aad ) ;
929929 return Utils . ByteArrayToUtf8String ( result ) ;
930930 }
931-
931+
932932 if ( exception != null )
933933 {
934934 throw exception ;
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public void EncryptDecryptWithKeyAsBase64String()
158158 byte [ ] encodedPassword = Utils . StringToUtf8ByteArray ( TestData . TestPassword ) ;
159159 string ? encryptResultAsBase64String = Managed . EncryptWithKeyAsBase64String ( encodedData , encodedPassword ) ;
160160 Assert . IsNotNull ( encryptResultAsBase64String ) ;
161-
161+
162162 string ? decryptResult = Managed . DecryptWithKeyAsUtf8String ( encryptResultAsBase64String , encodedPassword ) ;
163163 Assert . AreEqual ( decryptResult , TestData . StringTestData ) ;
164164 }
You can’t perform that action at this time.
0 commit comments