hexEncodeString method

  1. @override
String hexEncodeString(
  1. String input
)
override

Encodes the given input to hex format

Example:

final hexDecodedString = Nostr.instance.utilsService.hexEncodeString("example");
print(hexDecodedString); // ...

Implementation

@override
String hexEncodeString(String input) {
  return hex.encode(utf8.encode(input));
}