tuweni / org.apache.tuweni.crypto.sodium / Box / PublicKey / forSignaturePublicKey

forSignaturePublicKey

static fun forSignaturePublicKey(publicKey: PublicKey!): PublicKey! (source)

Transforms the Ed25519 signature public key to a Curve25519 public key. See https://libsodium.gitbook.io/doc/advanced/ed25519-curve25519

Parameters

publicKey - PublicKey!: the signature public key

Return
PublicKey!: the public key as a Curve25519 public key