Skip to content

Commit

Permalink
Show base32 encoding before verify (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsaff authored Mar 25, 2023
1 parent 60cddbf commit b50480d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nimble_totp.ex
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ defmodule NimbleTOTP do
* :period - The period (in seconds) in which the code is valid. Default is `30`.
## Examples
secret = Base.decode32!("PTEPUGZ7DUWTBGMW4WLKB6U63MGKKMCA")
NimbleTOTP.verification_code(secret)
#=> "569777"
Expand Down

0 comments on commit b50480d

Please sign in to comment.