pub fn generate() -> String {
  let salt = Uuid::new_v4();
  SALTS
    .lock()
    .expect("Failed to lock Salt mutex: generate()")
    .push(Salt {
      value: salt.to_string(),
      one_time: true,
    });
  salt.to_string()
}
/// Generates a one time Salt and returns its string representation.
Generates a one time Salt and returns its string representation.
Generates a one time Salt and returns its string representation .
pub fn generate() -> String {
  let salt = Uuid::new_v4();
  SALTS
    .lock()
    .expect("Failed to lock Salt mutex: generate()")
    .push(Salt {
      value: salt.to_string(),
      one_time: true,
    });
  salt.to_string()
}
pub fn generate ( ) -> String { let salt = Uuid :: new_v4 ( ) ; SALTS . lock ( ) . expect ( " " ) . push ( Salt { value : salt . to_string ( ) , one_time : true , } ) ; salt . to_string ( ) }
Generates a one time Salt and returns its string representation.
Generates a one time Salt and returns its string representation .