Easy to use Crypto wrapper using CryptoSwift, SwiftyRSA.
- Generate public private key pair (RSA)
- Decrypt content with RSA private key
- Encrypt content with AES symmetric key
- Decrypt content with AES symmetric key
Add these pods in your podfile to use this wrapper
pod 'CryptoSwift', '1.0.0'
pod 'SwiftyRSA', '1.5.0'
The method names are self explanatory. Check CryptoSwiftManager.swift
KeepWorks, ios@keepworks.com
KWSwiftCryptoWrapper is owned and maintained by KeepWorks.
Bug reports and pull requests are welcome on GitHub at https://github.com/keepworks/KWSwiftCryptoWrapper.
KWSwiftCryptoWrapper is available under the MIT License. See the License file for more info.