Changed log for generating ecc keys
This commit is contained in:
parent
8b6751f3f3
commit
290688b51c
@ -67,7 +67,7 @@ internal class CryptoManagement(val logger: KLogger,
|
|||||||
try {
|
try {
|
||||||
// seed our RNG based off of this and create our ECC keys
|
// seed our RNG based off of this and create our ECC keys
|
||||||
val seedBytes = Entropy.get("There are no ECC keys for the " + type.simpleName + " yet")
|
val seedBytes = Entropy.get("There are no ECC keys for the " + type.simpleName + " yet")
|
||||||
logger.debug("Now generating ECC (" + CryptoEccNative.curve25519 + ") keys. Please wait!")
|
logger.info("Now generating ECC (" + CryptoEccNative.curve25519 + ") keys. Please wait!")
|
||||||
|
|
||||||
secureRandom.nextBytes(seedBytes)
|
secureRandom.nextBytes(seedBytes)
|
||||||
val generateKeyPair = createKeyPair(secureRandom)
|
val generateKeyPair = createKeyPair(secureRandom)
|
||||||
|
Loading…
Reference in New Issue
Block a user