setSymmetricKey(_:)
Sets the symmetric encryption key that the context requires for symmetric encryption mode.
Declaration
func setSymmetricKey(_ key: SymmetricKey) throwsParameters
- key:
The symmetric encryption key.
Discussion
Use this function to set the encryption key for a context with a symmetric profile.