toHex method
Converts the public key to a hexadecimal string.
Implementation
String toHex([PubKeyModes mode = PubKeyModes.compressed]) {
return BytesUtils.toHexString(toBytes(mode));
}
Converts the public key to a hexadecimal string.
String toHex([PubKeyModes mode = PubKeyModes.compressed]) {
return BytesUtils.toHexString(toBytes(mode));
}