Skip to main content

decrypt_enc_to_user_id

Function decrypt_enc_to_user_id 

Source
pub fn decrypt_enc_to_user_id(key: &[u8; 32], ciphertext: &[u8; 32]) -> [u8; 32]
Expand description

Decrypt a 32-byte contactInfo.encToUserId ciphertext (inverse of encrypt_enc_to_user_id).