Skip to main content

close_encrypted_link

Function close_encrypted_link 

Source
pub async fn close_encrypted_link(link: EncryptedLink) -> Result<()>
Expand description

Closes an Encrypted Link and cleans up the Noise session state.

After calling this function, the EncryptedLink is consumed and can no longer be used for encryption or decryption.