Martin Vonheim Larsen
22e48620d1
Fixed issue with hash algorithm using Browserify
...
Fixes #14 .
2014-08-23 12:32:08 +02:00
Fazli Sapuan
0154ab839b
Make verify() follow the specs and return null
2014-06-09 13:58:19 +08:00
Guy Halford-Thompson
d10c328292
Merge pull request #9 from freewil/throw-time-overwrite
...
throw if trying to overwrite time in non-test env
2014-04-09 09:08:57 -07:00
freewil
f53ba3822c
throw if trying to overwrite time in non-test env
2014-04-07 04:15:49 -07:00
Joël Franusic
e977ceaa68
minor documentation changes
2013-03-27 17:23:07 -07:00
Guy Halford-Thompson
13865d89d5
Fixed issue causing negative counter values to be rejected
2012-06-13 17:38:47 +00:00
Roman Shtylman
cfa2ecddb1
rework api
...
make two subobjects `hotp` and `totp` with gen and verify methods
2012-06-01 00:33:55 -04:00
Roman Shtylman
9344bad009
rename arguments
...
There is no need for single letter arguments, they just make reading the
code more confusing. The spec uses them to avoid typing longer words all
over the place but we don't have as much code to produce.
- P -> token
- W -> window
- K -> key
- C -> counter
- T -> time
2012-06-01 00:04:21 -04:00
Roman Shtylman
3fd84e5a7e
rename lib/nopt.js -> index.js
...
simple project don't need lib folder
2012-05-31 23:51:19 -04:00
Guy Halford-Thompson
dac00027c4
Commit for version 1.1.2
2011-10-02 18:08:30 -07:00