- 
                Notifications
    You must be signed in to change notification settings 
- Fork 100
Closed
Description
Hello.
We are currently implementing the existing specification of a security protocol. This requires, at one point, to hash a given "password" and "salt" with the scrypt functuion using exactly the following parameters:
scrypt_params = Params::new(15u8, 8u32, 1u32, 80usize);
This currently fails with an InvalidParams error. As far as I can tell, it is because len is greater than 64 😓
Why is the Rust implementation of scrypt limited to only 64 bytes output?
Is there any chance that this limitation can be increased to allow, at least, 80 bytes of output?
To make it clear: There are existing real-world specification that explicitely require to invoke scrypt() with a length of 80 bytes!
(Note: They will split the generated 80 bytes output into two sub-keys of 40 bytes each)
Thank you and best regards.
Metadata
Metadata
Assignees
Labels
No labels