Skip to content

argon2: Update password-hash to 0.6 #852

@tyilo

Description

@tyilo

I'm using the argon2 crate with the password-hash feature. I have my salt stored as a byte array, but version 0.5.0 of password-hash seems to only allow creating a Salt from a base64-encoded string, but I would like to create a Salt directly from a byte array.

It seems like version 0.6 of password-hash fixes this by using phc::Salt which can be created from a byte slice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions