Skip to content

meta-x/clj-otp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clj-otp

Generate one time passwords, HOTPs based on RFC 4226 and TOTPs based on RFC 6238 for your application. Works with the Google Authenticator.

Originally implemented by omarkj and forked from djui.

Installation

Add

Current Version

to your leiningen :dependencies.

Clojure API

Get a HTOP based on a counter:

(hotp secret counter)

Get a TOTP based on the time:

(totp secret)

Get a HOTP based QR code image url:

(hotp-url label counter secret)

Get a TOTP based QR code image url:

(totp-url label secret)

License

Check the LICENSE file.

About

HOTP (rfc4226) & TOTP (rfc6238) Clojure API (fork of omarkj/cljotp)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%