small refactor
This commit is contained in:
@@ -17,9 +17,6 @@ object SecretGenerator {
|
||||
SHA384 -> 48
|
||||
SHA512 -> 64
|
||||
}
|
||||
|
||||
return ByteArray(bytes).also {
|
||||
random.nextBytes(it)
|
||||
}
|
||||
return random.nextBytes(bytes)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user