Skip to content

Commit

Permalink
Update otp.go (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquerna committed Nov 11, 2020
1 parent 98f30c2 commit 0a3fa91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions otp.go
Expand Up @@ -161,6 +161,9 @@ func (k *Key) URL() string {
type Algorithm int

const (
// AlgorithmSHA1 should be used for compatibility with Google Authenticator.
//
// See https://github.com/pquerna/otp/issues/55 for additional details.
AlgorithmSHA1 Algorithm = iota
AlgorithmSHA256
AlgorithmSHA512
Expand Down

0 comments on commit 0a3fa91

Please sign in to comment.