encodePhrase function
Implementation
Future<String> encodePhrase(
String prvKey,
String psw, [
Map<String, dynamic>? options,
]) async {
final response = ReceivePort();
try {
await Isolate.spawn(
_encodePhrase,
[response.sendPort, prvKey, psw, options],
);
return (await response.first) as String;
} catch (e) {
rethrow;
}
}