Merge branch 'master' into develop (Add fingerprint)

This commit is contained in:
J-Jamet committed 2017-11-02 20:12:48 +01:00
commit 8e4b6ede35
41 files changed
+1666 -489

No files matched your search

@@ -33,6 +33,7 @@ import javax.crypto.spec.SecretKeySpec;
import android.os.Build;
import com.keepassdroid.crypto.engine.AesEngine;
import com.keepassdroid.crypto.engine.ChaCha20Engine;
import com.keepassdroid.crypto.engine.CipherEngine;
import com.keepassdroid.crypto.engine.TwofishEngine;
import com.keepassdroid.utils.Types;
@@ -88,6 +89,8 @@ public class CipherFactory {
return new AesEngine();
} else if ( uuid.equals(TwofishEngine.CIPHER_UUID) ) {
return new TwofishEngine();
} else if ( uuid.equals(ChaCha20Engine.CIPHER_UUID)) {
return new ChaCha20Engine();
}
throw new NoSuchAlgorithmException("UUID unrecognized.");