decrypt method

String decrypt(
  1. String val
)

returns decrypted message

Implementation

String decrypt(String val) {
  return String.fromCharCodes(ZotPublicKey.writeBigInt((BigInt.parse(
              String.fromCharCodes(const Base64Decoder().convert(val))) *
          _d) %
      _on));
}