
Enables secure password hashing and verification using BCrypt, offering simple functions for hashing and validating passwords. Integrates easily with build tools like Gradle and Maven.
Kotlin multiplatform library for working with BCrypt.
(Updated version of bcrypt-mpp by @ToxicBakery)
This library is available via maven central.
implementation("de.nycode:bcrypt:2.2.0")<dependency>
<groupId>de.nycode</groupId>
<artifactId>bcrypt</artifactId>
<version>2.2.0</version>
<type>pom</type>
</dependency>val hash = hash("Hello pls hash me")if (verify("Hello pls hash me", hash)) {
println("Valid")
} else {
println("Invalid")
}Kotlin multiplatform library for working with BCrypt.
(Updated version of bcrypt-mpp by @ToxicBakery)
This library is available via maven central.
implementation("de.nycode:bcrypt:2.2.0")<dependency>
<groupId>de.nycode</groupId>
<artifactId>bcrypt</artifactId>
<version>2.2.0</version>
<type>pom</type>
</dependency>val hash = hash("Hello pls hash me")if (verify("Hello pls hash me", hash)) {
println("Valid")
} else {
println("Invalid")
}