Services/Sync/Developer/StorageFormat: Difference between revisions

Line 92: Line 92:
! hmac
! hmac
| string
| string
| SHA256 HMAC of the <tt>ciphertext</tt> and the same symmetric key used to encrypt the <tt>ciphertext</tt>, encoded as a base-16 (hex) string.
| SHA256 HMAC computed on the base64 encoded version of the ciphertext, using a base64 encoded version of the key used to encrypt the ciphertext in the first place as the key to the hmac algorithm.  In addition, the hmac is stored in the weave object in HEX format, not base64 like everything else.
|}
|}


11

edits