golang-module / dongle

A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption
https://pkg.go.dev/github.com/golang-module/dongle
MIT License
875 stars 67 forks source link

Missing RSA's private key encryption and public key decryption #13

Closed zhangdekui closed 1 year ago

zhangdekui commented 1 year ago

Feature Request

Golang's standard library only has public key encryption and private key decryption, It would be perfect if there is private key encryption and public key decryption

gouguoyin commented 1 year ago

Private key encryption and public key decryption are not commonly used

gouguoyin commented 1 year ago

v0.2.5 released and added rsa support for long plaintext private key encryption and public key decryption

https://github.com/golang-module/dongle#2rsa-encrypt-by-private-key-and-decrypt-by-public-key