Swiftpack.co - tannerdsilva/SwiftBCrypt as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by tannerdsilva.
tannerdsilva/SwiftBCrypt 0.2.0
Swift package wrapping the OpenWall BCrypt hashing algorithm
⭐️ 2
🕓 2 years ago
.package(url: "https://github.com/tannerdsilva/SwiftBCrypt.git", from: "0.2.0")

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.

GitHub

link
Stars: 2
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics