RustCrypto / RSA

RSA implementation in pure Rust
Apache License 2.0
536 stars 146 forks source link

how to decrypt with public key #427

Closed imgoby closed 4 months ago

imgoby commented 4 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 4 months ago

Dup of: #86 #231

imgoby commented 4 months ago

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

tarcieri commented 4 months ago

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