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
/
index.mjs
2 lines
(1 loc)
•
209 B
JavaScript
View Raw
1
2
function
n
(
n
){
return
"hello my name is "
+n}
var
t=
function
(
){
function
n
(
){}
return
n.
generate
=
function
(
){
return
Math
.
random
()},n.
prototype
.
validate
=
function
(
){
return
"crypto file"
},n}();
export
{t
as
TOTP
,n
as
hi};