Skip to content

A simple and easy to use library for use with ScrambleID, it provides HOTP default settings that satisfy the google authenticator protocol, while being customizable enough to satisfy the needs of the more esoteric parts of scrambleID protocol and the software that utilizes it

multiverse-os/otp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiverse OS Logo

Scramble ID: OTP (HOTP, and TOTP) Library

URL multiverse-os.org

A library to satisfy the requirements of Scramble ID, it provides by default HOTP settings that satisfy the google authenticator protocol, while being customizable enough to satisfy the needs of the more esoteric parts of scramble ID and the software that uses it.

Usage

Usage is done by chaining any customization onto the intialization function:

The simplest version, that will work with google authenicator is:

  hotp := otp.NewHOTP("seed-value")

And customization is done with chained functions:

  hotp := otp.NewHOTP("seed-value").Encoding(sha256.New)

About

A simple and easy to use library for use with ScrambleID, it provides HOTP default settings that satisfy the google authenticator protocol, while being customizable enough to satisfy the needs of the more esoteric parts of scrambleID protocol and the software that utilizes it

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages