kipher-symmetric
0.1.2
jvm
kipher-symmetric
/
io.github.jhdcruz.kipher.symmetric
/
SymmetricEncryption
/
generateKey
generate
Key
@
JvmOverloads
fun
generateKey
(
@
Nullable
size
:
Int
?
=
defaultKeySize
)
:
ByteArray
Generate secret key based on optional key
size
.
Else, use the default from
KeyGenerator
.