This is a very simple change that makes it compile for iOS.
In addition I want to add it to CocoaPods, would you mind tagging a new release? (e.g. 1.0.2)
Only Foundation is needed. This makes it work on iOS as well.
Added a CocoaPods spec: https://github.com/CocoaPods/Specs/blob/master/KSCrypto/1.0.2/KSCrypto.podspec