Giter Site home page Giter Site logo

Comments (7)

hfiguiere avatar hfiguiere commented on August 20, 2024 1

crate is fine as it does what is mostly advertised and documented (this is a very weak point of that crate). As mentioned above pwhash is a crate that does what we want, that uses rust-crypto as an crypto implementation.

I'm about to submit a PR that implement bcrypt() as password hashing.

from users.

jedireza avatar jedireza commented on August 20, 2024

FYI: The crate we're using, rust-crypto, supports this.

from users.

hfiguiere avatar hfiguiere commented on August 20, 2024

"support" with air quotes.

from users.

hfiguiere avatar hfiguiere commented on August 20, 2024

but there is the crate pwhash that should provide what is need, and it uses rust-crypto.

from users.

jedireza avatar jedireza commented on August 20, 2024

@hfiguiere I'm not sure what you mean by:

"support" with air quotes.

I didn't dig into it myself, but the list of supported algorithms included bcrypt. Does it not actually do bcrypt hashing? Are there known issues with this crate?

Also, we're using rust-crypto in foxbox/src/stable_uuid.rs. If there is an issue with this crate we should call it out in that repo too.

from users.

hfiguiere avatar hfiguiere commented on August 20, 2024

Just to clarify what I said earlier in better terms. rust-crypto supports bcrypt as a cypher. pwhash implements password hashing using, amongst other things, bcrypt as implemented by rust-crypto, following the standard hash format.

from users.

ferjm avatar ferjm commented on August 20, 2024

Closed by #71

from users.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.