ECPublicKey.fromHex constructor

ECPublicKey.fromHex(
  1. String hex
)

Constructs a public key from HEX encoded data that must represent a 33-byte compressed key, or 65-byte uncompressed key

Implementation

ECPublicKey.fromHex(String hex) : this(hexToBytes(hex));