MoneroPrivateKey.fromHex constructor
MoneroPrivateKey.fromHex(
- String keyHex
Factory method for creating an MoneroPrivateKey from a hex.
Implementation
factory MoneroPrivateKey.fromHex(String keyHex) {
return MoneroPrivateKey.fromBytes(BytesUtils.fromHexString(keyHex));
}