aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/otp/totp.vec
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/data/otp/totp.vec')
-rw-r--r--src/tests/data/otp/totp.vec19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tests/data/otp/totp.vec b/src/tests/data/otp/totp.vec
new file mode 100644
index 000000000..2247b6f14
--- /dev/null
+++ b/src/tests/data/otp/totp.vec
@@ -0,0 +1,19 @@
+[SHA-1]
+
+# From RFC 6238
+
+Key = 3132333435363738393031323334353637383930
+Digits = 8
+Timestep = 30
+
+Timestamp = 1970-01-01T00:00:59
+OTP = 94287082
+
+Timestamp = 2005-03-18T01:58:29
+OTP = 07081804
+
+Timestamp = 2009-02-13T23:31:30
+OTP = 89005924
+
+Timestamp = 2033-05-18:03:33:20
+OTP = 69279037