Decryption Error Using RSA Private Key in Rust: ‘decryption error’
I’m working on a Rust application that generates RSA keys and uses them for encryption and decryption. I have two functions: get_worker_keys
which generates RSA keys and decrypt_user_id
which attempts to decrypt an encrypted string using a private key. However, I’m encountering a decryption error in decrypt_user_id
.