encrypt abstract method

String encrypt(
  1. String val,
  2. ZotPublicKey? publicKey
)

notifies the class to encrypt the message and return base64 string NOTE: you do not need to pass public key for DES encryption

Implementation

String encrypt(String val, ZotPublicKey? publicKey);