canmove, Confirmed users
640
edits
m (→Version 5) |
|||
Line 86: | Line 86: | ||
== Version 5 == | == Version 5 == | ||
Version 5 is similar to Version 2 and 3, except | Version 5 is similar to Version 2 and 3, except: | ||
The keys with which to verify and decrypt a WBO are now determined based on the collection name. If collection-specific keys do not exist, the default key bundle | * the '''encryption''' field (which specifies the key to use) has been dropped; key selection is now implied by the WBO's collection | ||
* the HMAC is now calculated with a separate key, used in its raw byte form rather than in base64 encoding. | |||
The keys with which to verify and decrypt a WBO are now determined based on the collection name. If collection-specific keys do not exist, the default key bundle is used. | |||
{| cellpadding=5 | {| cellpadding=5 | ||
Line 110: | Line 113: | ||
"IV":"GluQHjEH65G0gPk/d/OGmg==", | "IV":"GluQHjEH65G0gPk/d/OGmg==", | ||
"hmac":"c550f20a784cab566f8b2223e546c3abbd52e2709e74e4e9902faad8611aa289"}</pre> | "hmac":"c550f20a784cab566f8b2223e546c3abbd52e2709e74e4e9902faad8611aa289"}</pre> | ||
== Version 3 == | == Version 3 == |