getPublicKey

open fun getPublicKey(): CryptoBoxPublicKey

Returns the public key associated with the given `key`.

Return

*non-null* pointer to the corresponding public key.

Parameters

key

*non-null* pointer to the private key.