MCPcopy Create free account
hub / github.com/HTBridge/pivaa / crypt

Method crypt

app/src/main/java/org/apache/commons/codec/digest/Crypt.java:45–47  ·  view source on GitHub ↗

Encrypts a password in a crypt(3) compatible way. A random salt and the default algorithm (currently SHA-512) are used. See #crypt(String, String) for details. @param keyBytes plaintext password @return hash value @throws RuntimeException when a {@link java.securi

(final byte[] keyBytes)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

sha512CryptMethod · 0.95
sha256CryptMethod · 0.95
md5CryptMethod · 0.95
cryptMethod · 0.95
startsWithMethod · 0.80
getBytesMethod · 0.80

Tested by

no test coverage detected