Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: LayoutTests/crypto/subtle/clone-pbkdf2Key-expected.txt

Issue 820523003: [webcrypto] Implement PBKDF2 (blink-side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add comments to the new tests in LayoutTests/crypto/subtle/pbkdf2-deriveBits.html Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Tests structured cloning of HKDF keys 1 Tests structured cloning of PBKDF2 keys
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS importedKey.extraProperty is "hi" 6 PASS importedKey.extraProperty is "hi"
7 PASS importedKey.type is "secret" 7 PASS importedKey.type is "secret"
8 PASS typeof importedKey.extractable is 'boolean' 8 PASS typeof importedKey.extractable is 'boolean'
9 PASS importedKey.extractable is false 9 PASS importedKey.extractable is false
10 PASS importedKey.algorithm.name is "HKDF" 10 PASS importedKey.algorithm.name is "PBKDF2"
11 PASS importedKey.usages.join(',') is "deriveBits" 11 PASS importedKey.usages.join(',') is "deriveBits"
12 PASS importedKey is not clonedKey 12 PASS importedKey is not clonedKey
13 PASS clonedKey.extraProperty is undefined. 13 PASS clonedKey.extraProperty is undefined.
14 PASS clonedKey.type is "secret" 14 PASS clonedKey.type is "secret"
15 PASS typeof clonedKey.extractable is 'boolean' 15 PASS typeof clonedKey.extractable is 'boolean'
16 PASS clonedKey.extractable is false 16 PASS clonedKey.extractable is false
17 PASS clonedKey.algorithm.name is "HKDF" 17 PASS clonedKey.algorithm.name is "PBKDF2"
18 PASS clonedKey.usages.join(',') is "deriveBits" 18 PASS clonedKey.usages.join(',') is "deriveBits"
19 Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff 19 Serialized key bytes: 3f004b06118002013000
20 20
21 PASS importedKey.extraProperty is "hi" 21 PASS importedKey.extraProperty is "hi"
22 PASS importedKey.type is "secret" 22 PASS importedKey.type is "secret"
23 PASS typeof importedKey.extractable is 'boolean' 23 PASS typeof importedKey.extractable is 'boolean'
24 PASS importedKey.extractable is false 24 PASS importedKey.extractable is false
25 PASS importedKey.algorithm.name is "HKDF" 25 PASS importedKey.algorithm.name is "PBKDF2"
26 PASS importedKey.usages.join(',') is "deriveBits" 26 PASS importedKey.usages.join(',') is "deriveBits"
27 PASS importedKey is not clonedKey 27 PASS importedKey is not clonedKey
28 PASS clonedKey.extraProperty is undefined. 28 PASS clonedKey.extraProperty is undefined.
29 PASS clonedKey.type is "secret" 29 PASS clonedKey.type is "secret"
30 PASS typeof clonedKey.extractable is 'boolean' 30 PASS typeof clonedKey.extractable is 'boolean'
31 PASS clonedKey.extractable is false 31 PASS clonedKey.extractable is false
32 PASS clonedKey.algorithm.name is "HKDF" 32 PASS clonedKey.algorithm.name is "PBKDF2"
33 PASS clonedKey.usages.join(',') is "deriveBits" 33 PASS clonedKey.usages.join(',') is "deriveBits"
34 Serialized key bytes: 3f004b061080022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f 34 Serialized key bytes: 3f004b06118002080011223344554677
35 35
36 PASS importedKey.extraProperty is "hi" 36 PASS importedKey.extraProperty is "hi"
37 PASS importedKey.type is "secret" 37 PASS importedKey.type is "secret"
38 PASS typeof importedKey.extractable is 'boolean' 38 PASS typeof importedKey.extractable is 'boolean'
39 PASS importedKey.extractable is false 39 PASS importedKey.extractable is false
40 PASS importedKey.algorithm.name is "HKDF" 40 PASS importedKey.algorithm.name is "PBKDF2"
41 PASS importedKey.usages.join(',') is "deriveKey" 41 PASS importedKey.usages.join(',') is "deriveBits"
42 PASS importedKey is not clonedKey 42 PASS importedKey is not clonedKey
43 PASS clonedKey.extraProperty is undefined. 43 PASS clonedKey.extraProperty is undefined.
44 PASS clonedKey.type is "secret" 44 PASS clonedKey.type is "secret"
45 PASS typeof clonedKey.extractable is 'boolean' 45 PASS typeof clonedKey.extractable is 'boolean'
46 PASS clonedKey.extractable is false 46 PASS clonedKey.extractable is false
47 PASS clonedKey.algorithm.name is "HKDF" 47 PASS clonedKey.algorithm.name is "PBKDF2"
48 PASS clonedKey.usages.join(',') is "deriveKey" 48 PASS clonedKey.usages.join(',') is "deriveBits"
49 Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00 49 Serialized key bytes: 3f004b061180020b00112233445546778899aa00
50 50
51 PASS importedKey.extraProperty is "hi" 51 PASS importedKey.extraProperty is "hi"
52 PASS importedKey.type is "secret" 52 PASS importedKey.type is "secret"
53 PASS typeof importedKey.extractable is 'boolean' 53 PASS typeof importedKey.extractable is 'boolean'
54 PASS importedKey.extractable is false 54 PASS importedKey.extractable is false
55 PASS importedKey.algorithm.name is "HKDF" 55 PASS importedKey.algorithm.name is "PBKDF2"
56 PASS importedKey.usages.join(',') is "deriveKey" 56 PASS importedKey.usages.join(',') is "deriveKey"
57 PASS importedKey is not clonedKey 57 PASS importedKey is not clonedKey
58 PASS clonedKey.extraProperty is undefined. 58 PASS clonedKey.extraProperty is undefined.
59 PASS clonedKey.type is "secret" 59 PASS clonedKey.type is "secret"
60 PASS typeof clonedKey.extractable is 'boolean' 60 PASS typeof clonedKey.extractable is 'boolean'
61 PASS clonedKey.extractable is false 61 PASS clonedKey.extractable is false
62 PASS clonedKey.algorithm.name is "HKDF" 62 PASS clonedKey.algorithm.name is "PBKDF2"
63 PASS clonedKey.usages.join(',') is "deriveKey" 63 PASS clonedKey.usages.join(',') is "deriveKey"
64 Serialized key bytes: 3f004b0610202000112233445546778899aabbccddeeff000102030405 060708090a0b0c0d0e0f00 64 Serialized key bytes: 3f004b0611200130
65 65
66 PASS importedKey.extraProperty is "hi" 66 PASS importedKey.extraProperty is "hi"
67 PASS importedKey.type is "secret" 67 PASS importedKey.type is "secret"
68 PASS typeof importedKey.extractable is 'boolean' 68 PASS typeof importedKey.extractable is 'boolean'
69 PASS importedKey.extractable is false 69 PASS importedKey.extractable is false
70 PASS importedKey.algorithm.name is "HKDF" 70 PASS importedKey.algorithm.name is "PBKDF2"
71 PASS importedKey.usages.join(',') is "deriveKey,deriveBits" 71 PASS importedKey.usages.join(',') is "deriveKey"
72 PASS importedKey is not clonedKey 72 PASS importedKey is not clonedKey
73 PASS clonedKey.extraProperty is undefined. 73 PASS clonedKey.extraProperty is undefined.
74 PASS clonedKey.type is "secret" 74 PASS clonedKey.type is "secret"
75 PASS typeof clonedKey.extractable is 'boolean' 75 PASS typeof clonedKey.extractable is 'boolean'
76 PASS clonedKey.extractable is false 76 PASS clonedKey.extractable is false
77 PASS clonedKey.algorithm.name is "HKDF" 77 PASS clonedKey.algorithm.name is "PBKDF2"
78 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits" 78 PASS clonedKey.usages.join(',') is "deriveKey"
79 Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff 79 Serialized key bytes: 3f004b06112008001122334455467700
80 80
81 PASS importedKey.extraProperty is "hi" 81 PASS importedKey.extraProperty is "hi"
82 PASS importedKey.type is "secret" 82 PASS importedKey.type is "secret"
83 PASS typeof importedKey.extractable is 'boolean' 83 PASS typeof importedKey.extractable is 'boolean'
84 PASS importedKey.extractable is false 84 PASS importedKey.extractable is false
85 PASS importedKey.algorithm.name is "HKDF" 85 PASS importedKey.algorithm.name is "PBKDF2"
86 PASS importedKey.usages.join(',') is "deriveKey,deriveBits" 86 PASS importedKey.usages.join(',') is "deriveKey"
87 PASS importedKey is not clonedKey 87 PASS importedKey is not clonedKey
88 PASS clonedKey.extraProperty is undefined. 88 PASS clonedKey.extraProperty is undefined.
89 PASS clonedKey.type is "secret" 89 PASS clonedKey.type is "secret"
90 PASS typeof clonedKey.extractable is 'boolean' 90 PASS typeof clonedKey.extractable is 'boolean'
91 PASS clonedKey.extractable is false 91 PASS clonedKey.extractable is false
92 PASS clonedKey.algorithm.name is "HKDF" 92 PASS clonedKey.algorithm.name is "PBKDF2"
93 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits" 93 PASS clonedKey.usages.join(',') is "deriveKey"
94 Serialized key bytes: 3f004b0610a0022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f 94 Serialized key bytes: 3f004b0611200b00112233445546778899aa
95 95
96 PASS importedKey.extraProperty is "hi" 96 PASS importedKey.extraProperty is "hi"
97 PASS importedKey.type is "secret" 97 PASS importedKey.type is "secret"
98 PASS typeof importedKey.extractable is 'boolean' 98 PASS typeof importedKey.extractable is 'boolean'
99 PASS importedKey.extractable is false 99 PASS importedKey.extractable is false
100 PASS importedKey.algorithm.name is "HKDF" 100 PASS importedKey.algorithm.name is "PBKDF2"
101 PASS importedKey.usages.join(',') is "deriveBits" 101 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
102 PASS importedKey is not clonedKey 102 PASS importedKey is not clonedKey
103 PASS clonedKey.extraProperty is undefined. 103 PASS clonedKey.extraProperty is undefined.
104 PASS clonedKey.type is "secret" 104 PASS clonedKey.type is "secret"
105 PASS typeof clonedKey.extractable is 'boolean' 105 PASS typeof clonedKey.extractable is 'boolean'
106 PASS clonedKey.extractable is false 106 PASS clonedKey.extractable is false
107 PASS clonedKey.algorithm.name is "HKDF" 107 PASS clonedKey.algorithm.name is "PBKDF2"
108 PASS clonedKey.usages.join(',') is "deriveBits" 108 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
109 Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff 109 Serialized key bytes: 3f004b0611a002013000
110 110
111 PASS importedKey.extraProperty is "hi" 111 PASS importedKey.extraProperty is "hi"
112 PASS importedKey.type is "secret" 112 PASS importedKey.type is "secret"
113 PASS typeof importedKey.extractable is 'boolean' 113 PASS typeof importedKey.extractable is 'boolean'
114 PASS importedKey.extractable is false 114 PASS importedKey.extractable is false
115 PASS importedKey.algorithm.name is "HKDF" 115 PASS importedKey.algorithm.name is "PBKDF2"
116 PASS importedKey.usages.join(',') is "deriveBits" 116 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
117 PASS importedKey is not clonedKey 117 PASS importedKey is not clonedKey
118 PASS clonedKey.extraProperty is undefined. 118 PASS clonedKey.extraProperty is undefined.
119 PASS clonedKey.type is "secret" 119 PASS clonedKey.type is "secret"
120 PASS typeof clonedKey.extractable is 'boolean' 120 PASS typeof clonedKey.extractable is 'boolean'
121 PASS clonedKey.extractable is false 121 PASS clonedKey.extractable is false
122 PASS clonedKey.algorithm.name is "HKDF" 122 PASS clonedKey.algorithm.name is "PBKDF2"
123 PASS clonedKey.usages.join(',') is "deriveBits" 123 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
124 Serialized key bytes: 3f004b061080022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f 124 Serialized key bytes: 3f004b0611a002080011223344554677
125 125
126 PASS importedKey.extraProperty is "hi" 126 PASS importedKey.extraProperty is "hi"
127 PASS importedKey.type is "secret" 127 PASS importedKey.type is "secret"
128 PASS typeof importedKey.extractable is 'boolean' 128 PASS typeof importedKey.extractable is 'boolean'
129 PASS importedKey.extractable is false 129 PASS importedKey.extractable is false
130 PASS importedKey.algorithm.name is "HKDF" 130 PASS importedKey.algorithm.name is "PBKDF2"
131 PASS importedKey.usages.join(',') is "deriveKey" 131 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
132 PASS importedKey is not clonedKey 132 PASS importedKey is not clonedKey
133 PASS clonedKey.extraProperty is undefined. 133 PASS clonedKey.extraProperty is undefined.
134 PASS clonedKey.type is "secret" 134 PASS clonedKey.type is "secret"
135 PASS typeof clonedKey.extractable is 'boolean' 135 PASS typeof clonedKey.extractable is 'boolean'
136 PASS clonedKey.extractable is false 136 PASS clonedKey.extractable is false
137 PASS clonedKey.algorithm.name is "HKDF" 137 PASS clonedKey.algorithm.name is "PBKDF2"
138 PASS clonedKey.usages.join(',') is "deriveKey" 138 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
139 Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00 139 Serialized key bytes: 3f004b0611a0020b00112233445546778899aa00
140 140
141 PASS importedKey.extraProperty is "hi" 141 PASS importedKey.extraProperty is "hi"
142 PASS importedKey.type is "secret" 142 PASS importedKey.type is "secret"
143 PASS typeof importedKey.extractable is 'boolean' 143 PASS typeof importedKey.extractable is 'boolean'
144 PASS importedKey.extractable is false 144 PASS importedKey.extractable is false
145 PASS importedKey.algorithm.name is "HKDF" 145 PASS importedKey.algorithm.name is "PBKDF2"
146 PASS importedKey.usages.join(',') is "deriveKey" 146 PASS importedKey.usages.join(',') is "deriveBits"
147 PASS importedKey is not clonedKey 147 PASS importedKey is not clonedKey
148 PASS clonedKey.extraProperty is undefined. 148 PASS clonedKey.extraProperty is undefined.
149 PASS clonedKey.type is "secret" 149 PASS clonedKey.type is "secret"
150 PASS typeof clonedKey.extractable is 'boolean' 150 PASS typeof clonedKey.extractable is 'boolean'
151 PASS clonedKey.extractable is false 151 PASS clonedKey.extractable is false
152 PASS clonedKey.algorithm.name is "HKDF" 152 PASS clonedKey.algorithm.name is "PBKDF2"
153 PASS clonedKey.usages.join(',') is "deriveKey" 153 PASS clonedKey.usages.join(',') is "deriveBits"
154 Serialized key bytes: 3f004b0610202000112233445546778899aabbccddeeff000102030405 060708090a0b0c0d0e0f00 154 Serialized key bytes: 3f004b06118002013000
155 155
156 PASS importedKey.extraProperty is "hi" 156 PASS importedKey.extraProperty is "hi"
157 PASS importedKey.type is "secret" 157 PASS importedKey.type is "secret"
158 PASS typeof importedKey.extractable is 'boolean' 158 PASS typeof importedKey.extractable is 'boolean'
159 PASS importedKey.extractable is false 159 PASS importedKey.extractable is false
160 PASS importedKey.algorithm.name is "HKDF" 160 PASS importedKey.algorithm.name is "PBKDF2"
161 PASS importedKey.usages.join(',') is "deriveKey,deriveBits" 161 PASS importedKey.usages.join(',') is "deriveBits"
162 PASS importedKey is not clonedKey 162 PASS importedKey is not clonedKey
163 PASS clonedKey.extraProperty is undefined. 163 PASS clonedKey.extraProperty is undefined.
164 PASS clonedKey.type is "secret" 164 PASS clonedKey.type is "secret"
165 PASS typeof clonedKey.extractable is 'boolean' 165 PASS typeof clonedKey.extractable is 'boolean'
166 PASS clonedKey.extractable is false 166 PASS clonedKey.extractable is false
167 PASS clonedKey.algorithm.name is "HKDF" 167 PASS clonedKey.algorithm.name is "PBKDF2"
168 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits" 168 PASS clonedKey.usages.join(',') is "deriveBits"
169 Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff 169 Serialized key bytes: 3f004b06118002080011223344554677
170 170
171 PASS importedKey.extraProperty is "hi" 171 PASS importedKey.extraProperty is "hi"
172 PASS importedKey.type is "secret" 172 PASS importedKey.type is "secret"
173 PASS typeof importedKey.extractable is 'boolean' 173 PASS typeof importedKey.extractable is 'boolean'
174 PASS importedKey.extractable is false 174 PASS importedKey.extractable is false
175 PASS importedKey.algorithm.name is "HKDF" 175 PASS importedKey.algorithm.name is "PBKDF2"
176 PASS importedKey.usages.join(',') is "deriveKey,deriveBits" 176 PASS importedKey.usages.join(',') is "deriveBits"
177 PASS importedKey is not clonedKey 177 PASS importedKey is not clonedKey
178 PASS clonedKey.extraProperty is undefined. 178 PASS clonedKey.extraProperty is undefined.
179 PASS clonedKey.type is "secret" 179 PASS clonedKey.type is "secret"
180 PASS typeof clonedKey.extractable is 'boolean' 180 PASS typeof clonedKey.extractable is 'boolean'
181 PASS clonedKey.extractable is false 181 PASS clonedKey.extractable is false
182 PASS clonedKey.algorithm.name is "HKDF" 182 PASS clonedKey.algorithm.name is "PBKDF2"
183 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits" 183 PASS clonedKey.usages.join(',') is "deriveBits"
184 Serialized key bytes: 3f004b0610a0022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f 184 Serialized key bytes: 3f004b061180020b00112233445546778899aa00
185 185
186 PASS importedKey.extraProperty is "hi" 186 PASS importedKey.extraProperty is "hi"
187 PASS importedKey.type is "secret" 187 PASS importedKey.type is "secret"
188 PASS typeof importedKey.extractable is 'boolean' 188 PASS typeof importedKey.extractable is 'boolean'
189 PASS importedKey.extractable is false 189 PASS importedKey.extractable is false
190 PASS importedKey.algorithm.name is "HKDF" 190 PASS importedKey.algorithm.name is "PBKDF2"
191 PASS importedKey.usages.join(',') is "deriveBits" 191 PASS importedKey.usages.join(',') is "deriveKey"
192 PASS importedKey is not clonedKey 192 PASS importedKey is not clonedKey
193 PASS clonedKey.extraProperty is undefined. 193 PASS clonedKey.extraProperty is undefined.
194 PASS clonedKey.type is "secret" 194 PASS clonedKey.type is "secret"
195 PASS typeof clonedKey.extractable is 'boolean' 195 PASS typeof clonedKey.extractable is 'boolean'
196 PASS clonedKey.extractable is false 196 PASS clonedKey.extractable is false
197 PASS clonedKey.algorithm.name is "HKDF" 197 PASS clonedKey.algorithm.name is "PBKDF2"
198 PASS clonedKey.usages.join(',') is "deriveBits" 198 PASS clonedKey.usages.join(',') is "deriveKey"
199 Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff 199 Serialized key bytes: 3f004b0611200130
200 200
201 PASS importedKey.extraProperty is "hi" 201 PASS importedKey.extraProperty is "hi"
202 PASS importedKey.type is "secret" 202 PASS importedKey.type is "secret"
203 PASS typeof importedKey.extractable is 'boolean' 203 PASS typeof importedKey.extractable is 'boolean'
204 PASS importedKey.extractable is false 204 PASS importedKey.extractable is false
205 PASS importedKey.algorithm.name is "HKDF" 205 PASS importedKey.algorithm.name is "PBKDF2"
206 PASS importedKey.usages.join(',') is "deriveBits" 206 PASS importedKey.usages.join(',') is "deriveKey"
207 PASS importedKey is not clonedKey 207 PASS importedKey is not clonedKey
208 PASS clonedKey.extraProperty is undefined. 208 PASS clonedKey.extraProperty is undefined.
209 PASS clonedKey.type is "secret" 209 PASS clonedKey.type is "secret"
210 PASS typeof clonedKey.extractable is 'boolean' 210 PASS typeof clonedKey.extractable is 'boolean'
211 PASS clonedKey.extractable is false 211 PASS clonedKey.extractable is false
212 PASS clonedKey.algorithm.name is "HKDF" 212 PASS clonedKey.algorithm.name is "PBKDF2"
213 PASS clonedKey.usages.join(',') is "deriveBits" 213 PASS clonedKey.usages.join(',') is "deriveKey"
214 Serialized key bytes: 3f004b061080022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f 214 Serialized key bytes: 3f004b06112008001122334455467700
215 215
216 PASS importedKey.extraProperty is "hi" 216 PASS importedKey.extraProperty is "hi"
217 PASS importedKey.type is "secret" 217 PASS importedKey.type is "secret"
218 PASS typeof importedKey.extractable is 'boolean' 218 PASS typeof importedKey.extractable is 'boolean'
219 PASS importedKey.extractable is false 219 PASS importedKey.extractable is false
220 PASS importedKey.algorithm.name is "HKDF" 220 PASS importedKey.algorithm.name is "PBKDF2"
221 PASS importedKey.usages.join(',') is "deriveKey" 221 PASS importedKey.usages.join(',') is "deriveKey"
222 PASS importedKey is not clonedKey 222 PASS importedKey is not clonedKey
223 PASS clonedKey.extraProperty is undefined. 223 PASS clonedKey.extraProperty is undefined.
224 PASS clonedKey.type is "secret" 224 PASS clonedKey.type is "secret"
225 PASS typeof clonedKey.extractable is 'boolean' 225 PASS typeof clonedKey.extractable is 'boolean'
226 PASS clonedKey.extractable is false 226 PASS clonedKey.extractable is false
227 PASS clonedKey.algorithm.name is "HKDF" 227 PASS clonedKey.algorithm.name is "PBKDF2"
228 PASS clonedKey.usages.join(',') is "deriveKey" 228 PASS clonedKey.usages.join(',') is "deriveKey"
229 Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00 229 Serialized key bytes: 3f004b0611200b00112233445546778899aa
230 230
231 PASS importedKey.extraProperty is "hi" 231 PASS importedKey.extraProperty is "hi"
232 PASS importedKey.type is "secret" 232 PASS importedKey.type is "secret"
233 PASS typeof importedKey.extractable is 'boolean' 233 PASS typeof importedKey.extractable is 'boolean'
234 PASS importedKey.extractable is false 234 PASS importedKey.extractable is false
235 PASS importedKey.algorithm.name is "HKDF" 235 PASS importedKey.algorithm.name is "PBKDF2"
236 PASS importedKey.usages.join(',') is "deriveKey" 236 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
237 PASS importedKey is not clonedKey 237 PASS importedKey is not clonedKey
238 PASS clonedKey.extraProperty is undefined. 238 PASS clonedKey.extraProperty is undefined.
239 PASS clonedKey.type is "secret" 239 PASS clonedKey.type is "secret"
240 PASS typeof clonedKey.extractable is 'boolean' 240 PASS typeof clonedKey.extractable is 'boolean'
241 PASS clonedKey.extractable is false 241 PASS clonedKey.extractable is false
242 PASS clonedKey.algorithm.name is "HKDF" 242 PASS clonedKey.algorithm.name is "PBKDF2"
243 PASS clonedKey.usages.join(',') is "deriveKey" 243 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
244 Serialized key bytes: 3f004b0610202000112233445546778899aabbccddeeff000102030405 060708090a0b0c0d0e0f00 244 Serialized key bytes: 3f004b0611a002013000
245 245
246 PASS importedKey.extraProperty is "hi" 246 PASS importedKey.extraProperty is "hi"
247 PASS importedKey.type is "secret" 247 PASS importedKey.type is "secret"
248 PASS typeof importedKey.extractable is 'boolean' 248 PASS typeof importedKey.extractable is 'boolean'
249 PASS importedKey.extractable is false 249 PASS importedKey.extractable is false
250 PASS importedKey.algorithm.name is "HKDF" 250 PASS importedKey.algorithm.name is "PBKDF2"
251 PASS importedKey.usages.join(',') is "deriveKey,deriveBits" 251 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
252 PASS importedKey is not clonedKey 252 PASS importedKey is not clonedKey
253 PASS clonedKey.extraProperty is undefined. 253 PASS clonedKey.extraProperty is undefined.
254 PASS clonedKey.type is "secret" 254 PASS clonedKey.type is "secret"
255 PASS typeof clonedKey.extractable is 'boolean' 255 PASS typeof clonedKey.extractable is 'boolean'
256 PASS clonedKey.extractable is false 256 PASS clonedKey.extractable is false
257 PASS clonedKey.algorithm.name is "HKDF" 257 PASS clonedKey.algorithm.name is "PBKDF2"
258 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits" 258 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
259 Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff 259 Serialized key bytes: 3f004b0611a002080011223344554677
260 260
261 PASS importedKey.extraProperty is "hi" 261 PASS importedKey.extraProperty is "hi"
262 PASS importedKey.type is "secret" 262 PASS importedKey.type is "secret"
263 PASS typeof importedKey.extractable is 'boolean' 263 PASS typeof importedKey.extractable is 'boolean'
264 PASS importedKey.extractable is false 264 PASS importedKey.extractable is false
265 PASS importedKey.algorithm.name is "HKDF" 265 PASS importedKey.algorithm.name is "PBKDF2"
266 PASS importedKey.usages.join(',') is "deriveKey,deriveBits" 266 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
267 PASS importedKey is not clonedKey 267 PASS importedKey is not clonedKey
268 PASS clonedKey.extraProperty is undefined. 268 PASS clonedKey.extraProperty is undefined.
269 PASS clonedKey.type is "secret" 269 PASS clonedKey.type is "secret"
270 PASS typeof clonedKey.extractable is 'boolean' 270 PASS typeof clonedKey.extractable is 'boolean'
271 PASS clonedKey.extractable is false 271 PASS clonedKey.extractable is false
272 PASS clonedKey.algorithm.name is "HKDF" 272 PASS clonedKey.algorithm.name is "PBKDF2"
273 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits" 273 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
274 Serialized key bytes: 3f004b0610a0022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f 274 Serialized key bytes: 3f004b0611a0020b00112233445546778899aa00
275
276 PASS importedKey.extraProperty is "hi"
277 PASS importedKey.type is "secret"
278 PASS typeof importedKey.extractable is 'boolean'
279 PASS importedKey.extractable is false
280 PASS importedKey.algorithm.name is "PBKDF2"
281 PASS importedKey.usages.join(',') is "deriveBits"
282 PASS importedKey is not clonedKey
283 PASS clonedKey.extraProperty is undefined.
284 PASS clonedKey.type is "secret"
285 PASS typeof clonedKey.extractable is 'boolean'
286 PASS clonedKey.extractable is false
287 PASS clonedKey.algorithm.name is "PBKDF2"
288 PASS clonedKey.usages.join(',') is "deriveBits"
289 Serialized key bytes: 3f004b06118002013000
290
291 PASS importedKey.extraProperty is "hi"
292 PASS importedKey.type is "secret"
293 PASS typeof importedKey.extractable is 'boolean'
294 PASS importedKey.extractable is false
295 PASS importedKey.algorithm.name is "PBKDF2"
296 PASS importedKey.usages.join(',') is "deriveBits"
297 PASS importedKey is not clonedKey
298 PASS clonedKey.extraProperty is undefined.
299 PASS clonedKey.type is "secret"
300 PASS typeof clonedKey.extractable is 'boolean'
301 PASS clonedKey.extractable is false
302 PASS clonedKey.algorithm.name is "PBKDF2"
303 PASS clonedKey.usages.join(',') is "deriveBits"
304 Serialized key bytes: 3f004b06118002080011223344554677
305
306 PASS importedKey.extraProperty is "hi"
307 PASS importedKey.type is "secret"
308 PASS typeof importedKey.extractable is 'boolean'
309 PASS importedKey.extractable is false
310 PASS importedKey.algorithm.name is "PBKDF2"
311 PASS importedKey.usages.join(',') is "deriveBits"
312 PASS importedKey is not clonedKey
313 PASS clonedKey.extraProperty is undefined.
314 PASS clonedKey.type is "secret"
315 PASS typeof clonedKey.extractable is 'boolean'
316 PASS clonedKey.extractable is false
317 PASS clonedKey.algorithm.name is "PBKDF2"
318 PASS clonedKey.usages.join(',') is "deriveBits"
319 Serialized key bytes: 3f004b061180020b00112233445546778899aa00
320
321 PASS importedKey.extraProperty is "hi"
322 PASS importedKey.type is "secret"
323 PASS typeof importedKey.extractable is 'boolean'
324 PASS importedKey.extractable is false
325 PASS importedKey.algorithm.name is "PBKDF2"
326 PASS importedKey.usages.join(',') is "deriveKey"
327 PASS importedKey is not clonedKey
328 PASS clonedKey.extraProperty is undefined.
329 PASS clonedKey.type is "secret"
330 PASS typeof clonedKey.extractable is 'boolean'
331 PASS clonedKey.extractable is false
332 PASS clonedKey.algorithm.name is "PBKDF2"
333 PASS clonedKey.usages.join(',') is "deriveKey"
334 Serialized key bytes: 3f004b0611200130
335
336 PASS importedKey.extraProperty is "hi"
337 PASS importedKey.type is "secret"
338 PASS typeof importedKey.extractable is 'boolean'
339 PASS importedKey.extractable is false
340 PASS importedKey.algorithm.name is "PBKDF2"
341 PASS importedKey.usages.join(',') is "deriveKey"
342 PASS importedKey is not clonedKey
343 PASS clonedKey.extraProperty is undefined.
344 PASS clonedKey.type is "secret"
345 PASS typeof clonedKey.extractable is 'boolean'
346 PASS clonedKey.extractable is false
347 PASS clonedKey.algorithm.name is "PBKDF2"
348 PASS clonedKey.usages.join(',') is "deriveKey"
349 Serialized key bytes: 3f004b06112008001122334455467700
350
351 PASS importedKey.extraProperty is "hi"
352 PASS importedKey.type is "secret"
353 PASS typeof importedKey.extractable is 'boolean'
354 PASS importedKey.extractable is false
355 PASS importedKey.algorithm.name is "PBKDF2"
356 PASS importedKey.usages.join(',') is "deriveKey"
357 PASS importedKey is not clonedKey
358 PASS clonedKey.extraProperty is undefined.
359 PASS clonedKey.type is "secret"
360 PASS typeof clonedKey.extractable is 'boolean'
361 PASS clonedKey.extractable is false
362 PASS clonedKey.algorithm.name is "PBKDF2"
363 PASS clonedKey.usages.join(',') is "deriveKey"
364 Serialized key bytes: 3f004b0611200b00112233445546778899aa
365
366 PASS importedKey.extraProperty is "hi"
367 PASS importedKey.type is "secret"
368 PASS typeof importedKey.extractable is 'boolean'
369 PASS importedKey.extractable is false
370 PASS importedKey.algorithm.name is "PBKDF2"
371 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
372 PASS importedKey is not clonedKey
373 PASS clonedKey.extraProperty is undefined.
374 PASS clonedKey.type is "secret"
375 PASS typeof clonedKey.extractable is 'boolean'
376 PASS clonedKey.extractable is false
377 PASS clonedKey.algorithm.name is "PBKDF2"
378 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
379 Serialized key bytes: 3f004b0611a002013000
380
381 PASS importedKey.extraProperty is "hi"
382 PASS importedKey.type is "secret"
383 PASS typeof importedKey.extractable is 'boolean'
384 PASS importedKey.extractable is false
385 PASS importedKey.algorithm.name is "PBKDF2"
386 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
387 PASS importedKey is not clonedKey
388 PASS clonedKey.extraProperty is undefined.
389 PASS clonedKey.type is "secret"
390 PASS typeof clonedKey.extractable is 'boolean'
391 PASS clonedKey.extractable is false
392 PASS clonedKey.algorithm.name is "PBKDF2"
393 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
394 Serialized key bytes: 3f004b0611a002080011223344554677
395
396 PASS importedKey.extraProperty is "hi"
397 PASS importedKey.type is "secret"
398 PASS typeof importedKey.extractable is 'boolean'
399 PASS importedKey.extractable is false
400 PASS importedKey.algorithm.name is "PBKDF2"
401 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
402 PASS importedKey is not clonedKey
403 PASS clonedKey.extraProperty is undefined.
404 PASS clonedKey.type is "secret"
405 PASS typeof clonedKey.extractable is 'boolean'
406 PASS clonedKey.extractable is false
407 PASS clonedKey.algorithm.name is "PBKDF2"
408 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
409 Serialized key bytes: 3f004b0611a0020b00112233445546778899aa00
275 410
276 PASS successfullyParsed is true 411 PASS successfullyParsed is true
277 412
278 TEST COMPLETE 413 TEST COMPLETE
279 414
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698