Skip to main content

content_hash

Function content_hash 

Source
pub fn content_hash(data: &[u8]) -> EncryptionKey
Expand description

Compute content hash (SHA256) - this becomes the decryption key for CHK