1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-13 23:23:55 +00:00

bump state/nonce length

This commit is contained in:
0x0fbc 2024-06-07 00:16:46 -04:00
parent 328c4a3e3c
commit 41f94e2f52

View file

@ -21,7 +21,7 @@ use crate::{
};
// 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
// 0-9 -> 0x30-0x39