3afd9170
葛建军
no message
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# SwiftHash
Hash in Swift
[](https://travis-ci.org/onmyway133/SwiftHash)
[](http://cocoadocs.org/docsets/SwiftHash)
[](https://github.com/Carthage/Carthage)
[](http://cocoadocs.org/docsets/SwiftHash)
[](http://cocoadocs.org/docsets/SwiftHash)
<img src="https://img.shields.io/badge/%20in-swift%204.0-orange.svg">

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