summaryrefslogtreecommitdiffhomepage
path: root/src/prj/totp/basic-usage.sh.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/prj/totp/basic-usage.sh.html')
-rw-r--r--src/prj/totp/basic-usage.sh.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/prj/totp/basic-usage.sh.html b/src/prj/totp/basic-usage.sh.html
new file mode 100644
index 0000000..9023218
--- /dev/null
+++ b/src/prj/totp/basic-usage.sh.html
@@ -0,0 +1,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