Changed RSA key size to 4096 bits.

This commit is contained in:
Felix Ableitner 2014-12-17 02:51:13 +02:00
parent 5934cb31ce
commit 2a48c7bbcb

View file

@ -23,7 +23,7 @@ object Crypto {
/** /**
* Number of bits for local key pair. * Number of bits for local key pair.
*/ */
val KeySize = 2048 val KeySize = 4096
/** /**
* Algorithm used for message signing. * Algorithm used for message signing.
@ -94,7 +94,7 @@ class Crypto(Context: Context) {
saveKey(PrivateKeyAlias, keyPair.getPrivate) saveKey(PrivateKeyAlias, keyPair.getPrivate)
saveKey(PublicKeyAlias, keyPair.getPublic) saveKey(PublicKeyAlias, keyPair.getPublic)
Log.i(Tag, "Generating cryptographic keys, address is " + address) Log.i(Tag, "Generated cryptographic keys, address is " + address)
} }
/** /**