SwiftHash
Hash in Swift
MD5
MD5("https://www.google.com") // 8FFDEFBDEC956B595D257F0AAEEFD623
MD5("https://unsplash.it/600/300/?image=1") // D59E956EBB1BE415970F04EC77F4C875
Installation
CocoaPods
SwiftHash is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SwiftHash'
Carthage
SwiftHash is also available through Carthage. To install just write into your Cartfile:
github "onmyway133/SwiftHash"
Manually
- Download and drop
/Sources
folder in your project. - Congratulations!
Author
Khoa Pham, [email protected]
Credit
- MD5 based on http://pajhome.org.uk/crypt/md5/md5.html
Contributing
We would love you to contribute to SwiftHash, check the CONTRIBUTING file for more info.
License
SwiftHash is available under the MIT license. See the LICENSE file for more info.