Kotlin accessor

This commit is contained in:
Robinson 2022-04-04 14:34:30 +02:00
parent 0195ef3dc8
commit c2ea674989
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -87,7 +87,7 @@ internal class CryptoManagement(val logger: KLogger,
if (privateKeyBytes == null || publicKeyBytes == null) {
try {
// 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["There are no ECC keys for the ${type.simpleName} yet"]
logger.info("Now generating ECC ($curve25519) keys. Please wait!")
secureRandom.nextBytes(seedBytes)