Encrypted.fromUtf8 constructor

Encrypted.fromUtf8(
  1. String input
)

Creates an Encrypted object from a UTF-8 string.

Implementation

Encrypted.fromUtf8(String input)
    : _bytes = Uint8List.fromList(convert.utf8.encode(input));