Пример #1
0
 public function encrypt($data)
 {
     return RSA::encryptWithPublic($data, $this->getPublicKey());
 }