encryptText static method

String encryptText(
  1. String value,
  2. String password
)

Implementation

static String encryptText(String value, String password) {
  return bytesToHex(encrypt(stringToBytesUtf8(value), password));
}