encode method

String encode(
  1. String message
)

Implementation

String encode(String message) {
  engine.init(true, utf8ToWords(key));
  var result = engine.process(utf8ToWords(message));
  engine.reset();
  return wordsToUtf8(result);
}