encryptString function
Encrypt the given string
to the given outputFile
, and return the
encryption key.
Implementation
String encryptString({
required final String string,
required final File outputFile,
final String? encryptionKey,
}) =>
encryptBytes(
bytes: utf8.encode(string),
outputFile: outputFile,
encryptionKey: encryptionKey,
);