示例#1
0
 public function dencrypt($data)
 {
     return RSA::rsa_decrypt($data, $this->private_key, $this->modulus, $this->key_length);
 }
示例#2
0
 function rsa_verify($message, $public_key, $modulus, $keylength)
 {
     return RSA::rsa_decrypt($message, $public_key, $modulus, $keylength);
 }