package
0.1.20
Repository: https://github.com/curltech/go-colla-core.git
Documentation: pkg.go.dev

# Functions

* * 生成指定字符串的对称密码 */.
No description provided by the author
No description provided by the author
* * 非对称解密 * * @param privkey 解密的密钥 * @param ciphertext 已经加密的数据 * @return 解密后的明文 * @throws EncryptException */.
No description provided by the author
* * 非对称解密 * * @param key 解密的密钥 * @param raw 已经加密的数据 * @return 解密后的明文 * @throws EncryptException */.
* * 非对称加密 * * @param key 加密的密钥 * @param data 待加密的明文数据 * @return 加密后的数据 * @throws EncryptException */.
No description provided by the author
* * 对称加密 * * @param key 加密的密钥 * @param data 待加密的明文数据 * @return 加密后的数据 * @throws EncryptException */.
* * 生成非对称的密钥对 * * @return */.
* * 生成随机对称秘钥 * * @param algorithm * @return * @throws NoSuchAlgorithmException */.
No description provided by the author
No description provided by the author
* * 从证书中的私钥二进制字符串表示中还原私钥 * * * @param keyValue * @return */.
* * 从公钥字符串,Key,KeyRing,表示中还原公钥 * * * @param keyValue * @return * @throws NoSuchAlgorithmException * @throws InvalidKeySpecException */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* 对对称密钥用对方公钥加密 */.