Package-level declarations

Types

Link copied to clipboard

This interface exists for technical reasons and brings nothing to the public API

Functions

Link copied to clipboard

Generates an ephemeral ECDH private value on the provided curve.

Link copied to clipboard
@JvmName(name = "keyAgreementEC")
suspend fun CryptoPrivateKey.WithPublicKey<CryptoPublicKey.EC>.keyAgreement(publicValue: KeyAgreementPublicValue): KmmResult<ByteArray>
@JvmName(name = "keyAgreementECDH")
suspend fun KeyAgreementPublicValue.ECDH.keyAgreement(privateValue: CryptoPrivateKey.WithPublicKey<CryptoPublicKey.EC>): KmmResult<ByteArray>

Performs key agreement