1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-17 04:20:29 +01:00

bump state/nonce length

Dieser Commit ist enthalten in:
0x0fbc 2024-06-07 00:16:46 -04:00 committet von Mathijs van Veluw
Ursprung 1a89fbd08b
Commit 542a5d3cb1

Datei anzeigen

@ -21,7 +21,7 @@ use crate::{
}; };
// State length must be at least 16 characters and at most 1024 characters. // State length must be at least 16 characters and at most 1024 characters.
const STATE_LENGTH: usize = 36; const STATE_LENGTH: usize = 64;
// Pool of characters for state and nonce generation // Pool of characters for state and nonce generation
// 0-9 -> 0x30-0x39 // 0-9 -> 0x30-0x39