blob: 60e3d1665e71c125402b68009609436430009f48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
[SHA-1]
# From RFC 4226
Key = 3132333435363738393031323334353637383930
Digits = 6
Counter = 0
OTP = 755224
Counter = 1
OTP = 287082
Counter = 2
OTP = 359152
Counter = 3
OTP = 969429
Counter = 4
OTP = 338314
Counter = 5
OTP = 254676
Counter = 6
OTP = 287922
Counter = 7
OTP = 162583
Counter = 8
OTP = 399871
Counter = 9
OTP = 520489
# Long digit tests
Digits = 7
Counter = 7
OTP = 2162583
Counter = 8
OTP = 3399871
Digits = 8
Counter = 7
OTP = 82162583
Counter = 8
OTP = 73399871
# From RFC 6238
Key = 3132333435363738393031323334353637383930
Digits = 8
Counter = 1
OTP = 94287082
Counter = 37037036
OTP = 07081804
Counter = 37037037
OTP = 14050471
Counter = 41152263
OTP = 89005924
Counter = 66666666
OTP = 69279037
Counter = 666666666
OTP = 65353130
[SHA-256]
# From RFC 6238
Key = 3132333435363738393031323334353637383930313233343536373839303132
Digits = 8
Counter = 1
OTP = 46119246
Counter = 37037036
OTP = 68084774
Counter = 37037037
OTP = 67062674
Counter = 41152263
OTP = 91819424
Counter = 66666666
OTP = 90698825
Counter = 666666666
OTP = 77737706
[SHA-512]
# From RFC 6238
Key = 31323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334
Digits = 8
Counter = 1
OTP = 90693936
Counter = 37037036
OTP = 25091201
Counter = 37037037
OTP = 99943326
Counter = 41152263
OTP = 93441116
Counter = 66666666
OTP = 38618901
Counter = 666666666
OTP = 47863826
|