These packages are available as a package collection, usable in Xcode or SwiftPM.
ncryptf for Swift 4+ - Secure API authentication and end to end encryption
1 package.