Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ZewoGraveyard/HashedPassword
https://github.com/ZewoGraveyard/HashedPassword
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ZewoGraveyard/HashedPassword
- Owner: ZewoGraveyard
- License: mit
- Created: 2016-07-07T07:33:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-06T21:35:41.000Z (almost 8 years ago)
- Last Synced: 2024-05-18T22:52:43.972Z (8 months ago)
- Language: Swift
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- TheList - Hashed Password
README
# HashedPassword
[![Swift][swift-badge]][swift-url]
[![Zewo][zewo-badge]][zewo-url]
[![Platform][platform-badge]][platform-url]
[![License][mit-badge]][mit-url]
[![Slack][slack-badge]][slack-url]
[![Travis][travis-badge]][travis-url]
[![Codebeat][codebeat-badge]][codebeat-url]## Usage
```swift
import HashedPasswordfunc signup(username: String, password: String) {
var account = Account()
account.username = username
account.password = HashedPassword(password: password)
}func login(username: String, password: String) -> Bool {
let account = Account.from(username: username)
return account.password == password
}
```## Installation
```swift
import PackageDescriptionlet package = Package(
dependencies: [
.Package(url: "https://github.com/Zewo/HashedPassword.git", majorVersion: 1, minor: 0),
]
)
```## Support
If you need any help you can join our [Slack](http://slack.zewo.io) and go to the **#help** channel. Or you can create a Github [issue](https://github.com/Zewo/Zewo/issues/new) in our main repository. When stating your issue be sure to add enough details, specify what module is causing the problem and reproduction steps.
## Community
[![Slack][slack-image]][slack-url]
The entire Zewo code base is licensed under MIT. By contributing to Zewo you are contributing to an open and engaged community of brilliant Swift programmers. Join us on [Slack](http://slack.zewo.io) to get to know us!
## License
This project is released under the MIT license. See [LICENSE](LICENSE) for details.
[swift-badge]: https://img.shields.io/badge/Swift-3.0-orange.svg?style=flat
[swift-url]: https://swift.org
[zewo-badge]: https://img.shields.io/badge/Zewo-0.7-FF7565.svg?style=flat
[zewo-url]: http://zewo.io
[platform-badge]: https://img.shields.io/badge/Platforms-OS%20X%20--%20Linux-lightgray.svg?style=flat
[platform-url]: https://swift.org
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: https://tldrlegal.com/license/mit-license
[slack-image]: http://s13.postimg.org/ybwy92ktf/Slack.png
[slack-badge]: https://zewo-slackin.herokuapp.com/badge.svg
[slack-url]: http://slack.zewo.io
[travis-badge]: https://travis-ci.org/Zewo/HashedPassword.svg?branch=master
[travis-url]: https://travis-ci.org/Zewo/HashedPassword
[codebeat-badge]: https://codebeat.co/badges/c340b3e6-1695-4cc1-a7e5-8bce33c5e697
[codebeat-url]: https://codebeat.co/projects/github-com-zewo-hashedpassword