Skip to content

pbkdf2 always throws an error with GHC 7.4.2 #11

@snakamura

Description

@snakamura

Just tried this snippet on GHCi 7.4.2, then it threw an error.

>>> :set -XOverloadedStrings
>>> import Crypto.PasswordStore
>>> salt <- genSaltIO
>>> pbkdf2 "test" salt 14
"*** Exception: Derived key too long.

It works fine with GHCi 7.6.3. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions