Rust Deterministic-password-safe Resources