From b1c3d8084da15a9d0ef21a431273efcc1dde2430 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 7 Oct 2015 13:56:04 -0700 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0054637..6d62e19 100644 --- a/README.md +++ b/README.md @@ -44,15 +44,15 @@ authenticator.verifyToken(formattedKey, '000 000'); ### API -### `generateKey()` +### generateKey() generates a 32-character (160-bit) base32 key -### `generateToken(formattedKey)` +### generateToken(formattedKey) generates a 6-digit (20-bit) decimal time-based token -### `verifyToken(formattedKey, formattedToken)` +### verifyToken(formattedKey, formattedToken) validates a time-based token within a +/- 30 second (90 seconds) window