small refactor
This commit is contained in:
@@ -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)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user