crypto:使用私有公钥加密和解密数据

时间:2021-02-05 23:46:48
【文件属性】:
文件名称:crypto:使用私有公钥加密和解密数据
文件大小:9KB
文件格式:ZIP
更新时间:2021-02-05 23:46:48
使用私钥/公钥对数据进行加密和签名 该软件包使您可以轻松生成专用/公用密钥对,并使用这些密钥对消息进行加密/解密。 use Spatie \ Crypto \ Rsa \ KeyPair ; use Spatie \ Crypto \ Rsa \ PrivateKey ; use Spatie \ Crypto \ Rsa \ PublicKey ; // generating an RSA key pair [ $ privateKey , $ publicKey ] = ( new KeyPair ())-> generate (); // when passing paths, th
【文件预览】:
crypto-master
----composer.json(1KB)
----.php_cs.dist(1KB)
----psalm.xml.dist(482B)
----src()
--------Rsa()
----LICENSE.md(1KB)
----CHANGELOG.md(202B)
----README.md(7KB)

网友评论