Talk:Services/Sync/SimplifiedCrypto: Difference between revisions

 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:


* What is the value of HMAC_INPUT?
* What is the value of HMAC_INPUT?
** [http://hg.mozilla.org/services/fx-sync/file/37150bc0bf62/services/sync/modules/constants.js source]
** it is the string "Sync-AES_256_CBC-HMAC256"
* what is enc + HMAC_INPUT + u + "\x02"? (enc is a byte array, the others are strings)
* what is enc + HMAC_INPUT + u + "\x02"? (enc is a byte array, the others are strings)
* \x?? = "The Latin-1 character specified by the two hexadecimal digits dd between 00 and FF.  ie, copyright symbol is \xA9."
** \x01 = SOH = \u0001 in unicode


== Upgrading existing Sync Keys to the new AES key  ==
== Upgrading existing Sync Keys to the new AES key  ==