Skip to main content

generate_store_salt

Function generate_store_salt 

Source
pub fn generate_store_salt() -> Vec<u8> 
Expand description

Generates a fresh random salt for a newly initialized store.

The caller writes the returned bytes to the store’s meta/salt blob so other machines can derive the same key.