exportSecret(context:outputByteCount:)
Exports a secret given domain-separation context and the desired output length.
Declaration
func exportSecret<Context>(context: Context, outputByteCount: Int) throws -> SymmetricKey where Context : DataProtocolParameters
- context:
Application-specific information providing context on the use of this key.
- outputByteCount:
The desired length of the exported secret.
Return Value
The exported secret.