From 2a48c7bbcb563b80ad389d2737da9de87a1528f1 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 17 Dec 2014 02:51:13 +0200 Subject: [PATCH] Changed RSA key size to 4096 bits. --- app/src/main/scala/com/nutomic/ensichat/protocol/Crypto.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/scala/com/nutomic/ensichat/protocol/Crypto.scala b/app/src/main/scala/com/nutomic/ensichat/protocol/Crypto.scala index 7c12437..867ee80 100644 --- a/app/src/main/scala/com/nutomic/ensichat/protocol/Crypto.scala +++ b/app/src/main/scala/com/nutomic/ensichat/protocol/Crypto.scala @@ -23,7 +23,7 @@ object Crypto { /** * Number of bits for local key pair. */ - val KeySize = 2048 + val KeySize = 4096 /** * Algorithm used for message signing. @@ -94,7 +94,7 @@ class Crypto(Context: Context) { saveKey(PrivateKeyAlias, keyPair.getPrivate) saveKey(PublicKeyAlias, keyPair.getPublic) - Log.i(Tag, "Generating cryptographic keys, address is " + address) + Log.i(Tag, "Generated cryptographic keys, address is " + address) } /**