PrivateKey.fromHex constructor

PrivateKey.fromHex(
  1. String hex
)

Create PrivateKey from hex

Implementation

PrivateKey.fromHex(String hex) : this.fromBytes(Utilities.hexToBytes(hex));