toHex method

String toHex()

Method to convert the private key to a hexadecimal string

Implementation

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