pub fn decrypt_message(ss: &mut [u8], ct: &[u8], sk: &[u8])Expand description
Generates a shared secret for a given cipher text and private key.
ยงArguments
ss- Output shared secret (an already allocated array of CRYPTO_BYTES bytes).ct- Input cipher text (an already allocated array of CRYPTO_CIPHERTEXTBYTES bytes).sk- Input private key (an already allocated array of CRYPTO_SECRETKEYBYTES bytes).
On failure, ss will contain a pseudo-random value.