Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onmyway133/SwiftHash

🍕 MD5 in pure Swift
https://github.com/onmyway133/SwiftHash

hash ios md5 swift

Last synced: about 1 month ago
JSON representation

🍕 MD5 in pure Swift

Awesome Lists containing this project

README

        

# SwiftHash

Checkout https://indiegoodies.com/

Hash in Swift

[![CI Status](http://img.shields.io/travis/onmyway133/SwiftHash.svg?style=flat)](https://travis-ci.org/onmyway133/SwiftHash)
[![Version](https://img.shields.io/cocoapods/v/SwiftHash.svg?style=flat)](http://cocoadocs.org/docsets/SwiftHash)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![License](https://img.shields.io/cocoapods/l/SwiftHash.svg?style=flat)](http://cocoadocs.org/docsets/SwiftHash)
[![Platform](https://img.shields.io/cocoapods/p/SwiftHash.svg?style=flat)](http://cocoadocs.org/docsets/SwiftHash)

![](Screenshots/Banner.png)

## 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'
```

#### 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!

#### Import on your swift file
```
import SwiftHash
```

## 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](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.