encrypt method

  1. @override
Future<String?> encrypt(
  1. String msg,
  2. String destPubKey, {
  3. String? id,
})
override

Implementation

@override
Future<String?> encrypt(String msg, String destPubKey, {String? id}) async {
  return Nip04.encrypt(privateKey!, destPubKey, msg);
}