package
0.7.9
Repository: https://github.com/sun-wenming/go-tools.git
Documentation: pkg.go.dev

# Functions

BytesToPrivateKey bytes to private key.
BytesToPublicKey bytes to public key.
DecryptWithPrivateKey decrypts data with private key.
EncryptWithPublicKey encrypts data with public key.
GenerateKeyPair generates a new key pair.
GenRSA256Token 生成 密钥对加密的 token.
GenRSA256TokenByFile.
GenRSA256TokenByFilePwd.
获取私钥.
获取 加密码的私钥.
获取公钥.
ParseRAS256TokenByFile.
ParseRAS256TokenByFilePwd.
ParseRAS256TokenByKey 解析token.
PrivateKeyToBytes private key to bytes.
PublicKeyToBytes public key to bytes.

# Structs

No description provided by the author