mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-26 03:46:46 -08:00
Fix small crypto code
This commit is contained in:
1 parent
b899212d14
commit
c47834f470
5 files changed
+116
-121
No files matched your search
@@ -72,7 +72,7 @@ public class AESTest extends TestCase {
|
||||
android.init(Cipher.ENCRYPT_MODE, key, iv);
|
||||
byte[] outAndroid = android.doFinal(input, 0, dataSize);
|
||||
|
||||
Cipher nat = CipherFactory.getInstance("AES/CBC/PKCS5Padding");
|
||||
Cipher nat = CipherFactory.INSTANCE.getInstance("AES/CBC/PKCS5Padding");
|
||||
nat.init(Cipher.ENCRYPT_MODE, key, iv);
|
||||
byte[] outNative = nat.doFinal(input, 0, dataSize);
|
||||
|
||||
|
||||
Reference in new issue
Block a user