GithubHelp home page GithubHelp logo

Comments (6)

willpower232 avatar willpower232 commented on June 23, 2024 2

while you're at it, might be worth cleaning up all the unreachable code in codeEquals as hash_equals is PHP >= 5.6 so definitely always exists

from twofactorauth.

willpower232 avatar willpower232 commented on June 23, 2024 2

wait till they announce it as a native library or something haha

from twofactorauth.

RobThree avatar RobThree commented on June 23, 2024 1

This is a leftover from the PHP5 era I guess. I don't mind if the openssl & hash ones get trashed. We stopped supporting PHP5 long ago. I would like to keep the interface because some people may be using their own implementations (I can see people using a hardware RNG for example).

from twofactorauth.

RobThree avatar RobThree commented on June 23, 2024 1

Dangit! I was removing them too, you beat me to it (and did a better job).

Screenshot 2024-04-15 at 23 37 08

👊

(Editted because I drag & dropped the wrong screenshot 🤪 I'm an idiot 🤦 )

from twofactorauth.

NicolasCARPi avatar NicolasCARPi commented on June 23, 2024 1

@willpower232 done, good spot!

When I'm done with this lib it'll be a 3 lines function :p

from twofactorauth.

NicolasCARPi avatar NicolasCARPi commented on June 23, 2024

@RobThree See #122 then. And yes, users can still swap out the rngprovider for their own, if they need to.

from twofactorauth.

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.