Registry / crypto / jbcrypt

jbcrypt

JSON →
library0.4javamavenunverified

OpenBSD-style Blowfish password hashing for Java, providing a simple API for hashing and checking passwords.

<dependency> <groupId>org.mindrot</groupId> <artifactId>jbcrypt</artifactId> <version>0.4</version> </dependency>
INSTALL
IMPORT
SIG · JBCRYPT
J
jbcrypt
cryptojavav0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BCrypt
org.mindrot.jbcrypt.BCrypt

Minimal example showing how to hash a password and verify it using jBCrypt.

import org.mindrot.jbcrypt.BCrypt; public class Quickstart { public static void main(String[] args) { String password = "myPassword123"; String hashed = BCrypt.hashpw(password, BCrypt.gensalt()); System.out.println("Hashed: " + hashed); boolean matched = BCrypt.checkpw(password, hashed); System.out.println("Matched: " + matched); } }
Debug
Known issues
gotchajBCrypt 0.4 is outdated; consider using a more modern library like Spring Security Crypto or Argon2 for better security.
fix
Upgrade to a newer password hashing library such as org.springframework.security:spring-security-crypto or com.password4j:password4j.
affects: <=0.4
Upgrade
Version history
0.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
jbcrypt — mvn dependency:get jbcrypt · libregistry