Per-Space Encryption Key


The per-space encryption key MUST be used to encrypt all messages. It is derived from the per-space master key described in section 1.5. The per-space encryption key MUST be the result of a Groove-specific key derivation function. The parameters MUST be:

i_Key: The SHA-1 hash, as specified in [RFC3174], of the concatenation of the per-space master key and the Unicode string "MaskStringForTelespaceSecurityCipherKeys". This string MUST be hashed as a byte array. The zero terminator MUST NOT be included in the hash.

i_KeySizeInBytes: Size of i_Key in bytes.

i_DerivedKeySizeInBytes: MUST be the same as the size of the per-space master key.