encode method

String encode(
  1. String content
)

加密

Implementation

String encode(String content) {
  final encrypter = Encrypter(RSA(publicKey: k));
  return encrypter.encrypt(content).base64;
}