com.github.rs3vans.krypto / java.security.Key

Extensions for java.security.Key

toBytes fun Key.toBytes(): Bytes

Extension function that converts a Key to an instance of Bytes.