Skip to content

Commit

Permalink
Update usage-securestate.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif authored Sep 26, 2024
1 parent bf569ec commit 967bce3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions documentation/usage-securestate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@

- **Secure Storage**: Data stored using `SecureState` is encrypted and securely saved in the Keychain.
- **Persistence**: The data remains persistent across app launches, allowing secure retrieval of sensitive values.
- **Automatic Synchronization**: On Apple devices, Keychain data can automatically sync between devices if iCloud Keychain is enabled.

## Keychain Limitations

While `SecureState` is very secure, it has certain limitations:

- **Limited Storage Size**: Keychain is designed for small pieces of data. It is not suitable for storing large files or datasets.
- **Performance**: Accessing the Keychain is slower than accessing `UserDefaults`, so use it only when necessary to securely store sensitive data.
- **Synchronization with iCloud**: Make sure iCloud Keychain is enabled for the user’s data to sync across devices.

## Example Usage

Expand Down

0 comments on commit 967bce3

Please sign in to comment.