Skip to main content

DEFAULT_MAX_PASSWORD_BYTES

Constant DEFAULT_MAX_PASSWORD_BYTES 

Source
pub const DEFAULT_MAX_PASSWORD_BYTES: Limit;
Expand description

The longest password hashed or verified unless PasswordHasher::max_password_bytes says otherwise: 4 096 bytes. It bounds the work one attempt costs.