PropertyOptions includes encrypt which you can add to properties using the @Attribute modifier: https://developer.apple.com/documentation/swiftdata/propertyoptions/encrypt
That page doesn't specify the encryption algorithm though. SwiftData uses Core Data under the hood, so the answer might exist within some older documentation about Core Data and encryption.
Topic:
App & System Services
SubTopic:
iCloud
Tags: