kazu-yamamoto / crypton

lowlevel set of cryptographic primitives for haskell
Other
25 stars 16 forks source link

Feature request: add TOTP / HOTP algorithms (RFC6238) #20

Closed sigrdrifa closed 1 year ago

sigrdrifa commented 1 year ago

Would it be possible to add totp (and maybe hotp) algorithms for time-based one-time password approach?

https://www.rfc-editor.org/rfc/rfc6238

or are these too specific to be in a general crypto sink package?

kazu-yamamoto commented 1 year ago

@sigrdrifa If you ask me to implement it, the answer is "no". I'm sorry.

If you ask merging your implementation to crypton, the answer is definitely "yes".

sigrdrifa commented 1 year ago

Okay great thanks, I might do a PR :)