a Secarta project ...

HTTPsec Authentication Protocol


Preamble

6.7.2. Cipher Keys

The keys required for message body ciphering are computed as follows:

request-cipher-key  = H(H( shared-secret || "request cipher key"  ))

response-cipher-key = H(H( shared-secret || "response cipher key" ))

where the following apply:

  • String literals are ASCII without length or zero-termination.
  • shared-secret is computed according to the Shared Secret section.
  • H(H()) is the Hash Algorithm iteratively applied twice.