Skip to main content

blob_key_id

Function blob_key_id 

Source
pub fn blob_key_id(blob: &[u8]) -> Result<[u8; 8]>
Expand description

The key fingerprint a blob claims, without needing the key itself.

Used by status and by unlock to check the key before touching a single file, so a wrong key fails loudly instead of half-way through.

ยงErrors

Error::Format when the blob is not one of ours.