haskell-cryptography / one-time-password Goto Github PK
View Code? Open in Web Editor NEWHaskell implementation of One-Time Passwords algorithms
License: MIT License
Haskell implementation of One-Time Passwords algorithms
License: MIT License
After a talk with @Kleidukos I have started to figure-out why TOTP implementation was not working with some TOTP Apps.
I have tested it with other TOTP libraries and I have found-out:
Testing code
>>> import pyotp
>>> bkey = '5EGLVYWX2GD7MFEAMND47V2QAK6Q3OCHIUIQSWM5UUD6RWUIX5BQ====' # base32 of e90cbae2d7d187f614806347cfd75002bd0db847451109599da507e8da88bf43
>>> pyotp.totp.TOTP(bkey, digest=pyotp.hashlib.sha1).at(1286057400)
'067007'
>>> pyotp.totp.TOTP(bkey, digest=pyotp.hashlib.sha256).at(1286057400)
'408397'
>>> pyotp.totp.TOTP(bkey, digest=pyotp.hashlib.sha512).at(1286057400)
'594741'
Hi, I have noticed that you have fixed the package bounds upstream, however; the released versions still have these; would it make sense to have a release for these loser package bounds?
Best,
Mango
fourmolu and linting should be setup, with a CI check
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.