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

https://github.com/tannerdsilva/swiftbcrypt

Swift package wrapping the OpenWall BCrypt hashing algorithm
https://github.com/tannerdsilva/swiftbcrypt

bcrypt cryptography hash password swift

Last synced: 4 months ago
JSON representation

Swift package wrapping the OpenWall BCrypt hashing algorithm

Awesome Lists containing this project

README

          

# SwiftBCrypt

A simple Swift Package wrapping the OpenWall BCrypt hashing algorithm.

## Generate Salt
```
let bcryptSalt = try BCRypt.makeSalt()
```

## Hash Phrases
```
let bcryptHash:Data = try BCrypt.hash(phrase:"ThisIsMySecurePassword1234", salt:bcryptSalt)
```

LICENSE

This package is offered under an MIT license, and is provided without warranty.