small refactor

This commit is contained in:
2025-08-17 14:53:04 +02:00
parent acc080b65e
commit 8b9a7ec26e

View File

@@ -17,9 +17,6 @@ object SecretGenerator {
SHA384 -> 48 SHA384 -> 48
SHA512 -> 64 SHA512 -> 64
} }
return random.nextBytes(bytes)
return ByteArray(bytes).also {
random.nextBytes(it)
}
} }
} }