Closed realzhujunhao closed 1 year ago
background: I am new to cryptography, but I hope to integrate end to end encrypt feature to my toy chat server.
I hope to know: 1) "yes or no" to the title 2) If yes, which API converts the RsaPublicKey into u8 slice? 3) If no, what else should I look for?
RsaPublicKey
use pkcs8::{EncodePublicKey} Then pub_key.to_pub_key_pem()
background: I am new to cryptography, but I hope to integrate end to end encrypt feature to my toy chat server.
I hope to know: 1) "yes or no" to the title 2) If yes, which API converts the
RsaPublicKey
into u8 slice? 3) If no, what else should I look for?