getEncryptionPublicKey method

Future<String?> getEncryptionPublicKey(
  1. String atSign
)

Implementation

Future<String?> getEncryptionPublicKey(String atSign) async {
  atSign = AtUtils.formatAtSign(atSign)!;
  var privateKeyData =
      await keyStore!.get('$AT_ENCRYPTION_PUBLIC_KEY$atSign');
  return privateKeyData?.data;
}