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: Thu Jul 14 2022 11:53:16 GMT-0500 (GMT-05:00)