crypto / org.apache.tuweni.crypto / SECP256K1 / PublicKey / fromHexString

fromHexString

open static fun fromHexString(str: CharSequence): PublicKey (source)

Create the public key from a hex string.

Parameters

str - The hexadecimal string to parse, which may or may not start with "0x".

Return
The public key.