encryptString method

String encryptString(
  1. String str
)

Implementation

String encryptString(String str){
  final bytes = utf8.encode(str);
  String encoded = base64.encode(bytes);
  Log("utill").i("Encrypt Str : $encoded");
  return encoded;
}