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