Skip to content

scrypt params are too restrictive #415

@finfet

Description

@finfet

scrypt version 0.11.0 introduced a length requirement on the derived key length. It is no longer possible to derive keys shorter than 10 or larger than 64.

It is fine if the scrypt::Params struct has a recommended derived key length, but it should be possible to input a key length in compliance with RFC 7914. The RFC allows the scrypt derived key length to be "a positive integer less than or equal to (2^32 - 1) * 32".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions