RustCrypto / RSA

RSA implementation in pure Rust
Apache License 2.0
557 stars 154 forks source link

how to decrypt with public key #427

Closed imgoby closed 7 months ago

imgoby commented 7 months ago

In java, we can decrypt with public key. but in Rust,how to decrypt with public key?

server: encrypt with private key client: want to decrypt with public key.

how to resolve?

tarcieri commented 7 months ago

Dup of: #86 #231

imgoby commented 7 months ago

Sorry,I could not find any refer code.Could you give me some advice method?

tarcieri commented 7 months ago

Per the linked issues this is not a feature we plan on implementing outside of a well-specified construction like #231