projects
/
squeep-totp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix default key encoding for constructor arguments to align with default key creation...
[squeep-totp]
/
lib
/
hotp.js
diff --git
a/lib/hotp.js
b/lib/hotp.js
index 7741a19fc9ae4e3dc5d6511dc7a1905d16b2cb9a..90942cc4b4691af0cd05bd9e3c379b92a650caca 100644
(file)
--- a/
lib/hotp.js
+++ b/
lib/hotp.js
@@
-48,7
+48,7
@@
class HMACBasedOneTimePassword {
return {
codeLength: 6,
counter: 0n,
- keyEncoding: '
ascii
',
+ keyEncoding: '
hex
',
algorithm: 'sha1',
};
}