summaryrefslogtreecommitdiffhomepage
path: root/src/prj/totp/basic-usage.sh.html
blob: 9023218fd480881cd3ab05c9c13bed04422fd542 (plain) (blame)
1
2
3
4
5
6
7
$ <span class="sh-var">code</span>=<span class="sh-ex">`mkpass A-Z0-7`</span>
$ <span class="sh-fn">totp</span> $<span class="sh-var">code</span>
475867
$ <span class="sh-fn">echo</span> $<span class="sh-var">code</span> | <span class="sh-fn">totp</span>
475867
$ <span class="sh-fn">totp</span> -d 10 $<span class="sh-var">code</span>
0718732338