SwiftBCrypt

master

Swift package wrapping the OpenWall BCrypt hashing algorithm
tannerdsilva/SwiftBCrypt

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.

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

Last updated: Fri Mar 17 2023 12:05:08 GMT-0500 (GMT-05:00)