signBlock static method

String signBlock(
  1. String hash,
  2. String privKey
)

Implementation

static String signBlock(String hash, String privKey) {
  return NanoHelpers.byteToHex(Ed25519Blake2b.signMessage(
      NanoHelpers.hexToBytes(hash), NanoHelpers.hexToBytes(privKey))!);
}