I have heard about Secure Enclave. In which after key generation, data can be encrypted by SecKeyCreateEncryptedData method.
My Use Case: I want to store some sensitive data persistently. For security purposes, I have encrypted data by above method using Secure Enclave.
Now just want to know is it a legal way to store encrypted data in NSUserDefaults or Keychain. or there is something else that should be done.
Any help would be much appreciated!