UNPKG
@me7/totp
Version:
latest (1.3.0)
1.3.0
1.2.0
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Time-Based One-Time Password Algorithm (RFC 6238)
github.com/me7/totp
me7/totp
@me7/totp
/
dist
/
bundle.js
2 lines
(1 loc)
•
244 B
JavaScript
View Raw
1
2
var
TOTP
=
function
(
n
){
"use strict"
;
var
t=
function
(
){
function
n
(
){}
return
n.
generate
=
function
(
){
return
Math
.
random
()},n.
prototype
.
validate
=
function
(
){
return
"crypto file"
},n}();
return
n.
TOTP
=t,n.
hi
=
function
(
n
){
return
"hello my name is "
+n},n}({});