示例#1
0
 public function encrypt($data)
 {
     return base64_encode(Rsa::rsa_encrypt($data, $this->public_key, $this->modulus, $this->key_length));
 }