plainTextToHex function

String plainTextToHex(
  1. String plainText
)

Implementation

String plainTextToHex(String plainText) {
  var u8a = stringToU8a(plainText);
  return bytesToHex(u8a);
}