bcrypt

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.

JVMJS
GitHub stars6
AuthorsNyCodeGHG
Open issues7
LicenseMIT License
Creation datealmost 5 years ago

Last activityover 3 years ago
Latest release2.3.0 (about 4 years ago)

bcrypt

Maven Central Gradle CI

Kotlin multiplatform library for working with BCrypt.

(Updated version of bcrypt-mpp by @ToxicBakery)

This library is available via maven central.

Gradle

implementation("de.nycode:bcrypt:2.2.0")

Maven

<dependency>
  <groupId>de.nycode</groupId>
  <artifactId>bcrypt</artifactId>
  <version>2.2.0</version>
  <type>pom</type>
</dependency>

Usage

Hash

val hash = hash("Hello pls hash me")

Verify

if (verify("Hello pls hash me", hash)) {
    println("Valid")
} else {
    println("Invalid")
}
JVMJS
GitHub stars6
AuthorsNyCodeGHG
Open issues7
LicenseMIT License
Creation datealmost 5 years ago

Last activityover 3 years ago
Latest release2.3.0 (about 4 years ago)

bcrypt

Maven Central Gradle CI

Kotlin multiplatform library for working with BCrypt.

(Updated version of bcrypt-mpp by @ToxicBakery)

This library is available via maven central.

Gradle

implementation("de.nycode:bcrypt:2.2.0")

Maven

<dependency>
  <groupId>de.nycode</groupId>
  <artifactId>bcrypt</artifactId>
  <version>2.2.0</version>
  <type>pom</type>
</dependency>

Usage

Hash

val hash = hash("Hello pls hash me")

Verify

if (verify("Hello pls hash me", hash)) {
    println("Valid")
} else {
    println("Invalid")
}