GHCryptor is an iOS cryptor library written in Swift and Objective-C.It can be used to encrypt/decrypt NSData for storing in database.