x963DerivedSymmetricKey(using:sharedInfo:outputByteCount:)
Derives a symmetric encryption key from the secret using x9.63 key derivation.
Declaration
func x963DerivedSymmetricKey<H, SI>(using hashFunction: H.Type, sharedInfo: SI, outputByteCount: Int) -> SymmetricKey where H : HashFunction, SI : DataProtocolParameters
- hashFunction:
The hash function to use for key derivation.
- sharedInfo:
The shared information to use for key derivation.
- outputByteCount:
The length in bytes of resulting symmetric key.
Return Value
The derived symmetric key.