toHex method

String toHex()

Converts the private key to its hexadecimal representation.

Implementation

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