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
⭐️ 0
🕓 1 week ago
.package(url: "https://github.com/tannerdsilva/SwiftBCrypt.git", from: "0.2.0")


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)


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


Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

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