toHex method

String toHex()

Converts the private key to a hexadecimal string.

Implementation

String toHex() {
  return BytesUtils.toHexString(toBytes());
}