cryptography-kotlin
Toggle table of contents
0.6.0
common
Target filter
common
Switch theme
Search in API
Skip to content
cryptography-kotlin
cryptography-core
/
dev.whyoleg.cryptography.operations
/
KeyGenerator
Key
Generator
@
SubclassOptInRequired
(
markerClass
=
[
CryptographyProviderApi::class
]
)
interface
KeyGenerator
<
K
>
(
source
)
Generates new cryptographic keys of type
K
.
Members
Functions
generate
Key
Link copied to clipboard
open
suspend
fun
generateKey
(
)
:
K
Generates a new key and returns it.
generate
Key
Blocking
Link copied to clipboard
abstract
fun
generateKeyBlocking
(
)
:
K
Generates a new key and returns it.