Skip to main content

generate_salt

Function generate_salt 

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

Generates a random salt for key derivation.

The salt should be stored (in config) and reused for the same account to ensure consistent key derivation.