- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getMD5 (0.04 seconds)
-
src/main/java/jcifs/util/Crypto.java
throw new CIFSUnsupportedCryptoException(e); } } /** * Get an MD5 message digest instance. * @return MD5 digest instance */ public static MessageDigest getMD5() { try { return MessageDigest.getInstance("MD5"); } catch (final NoSuchAlgorithmException e) { throw new CIFSUnsupportedCryptoException(e); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/util/CryptoTest.java
MessageDigest md5 = Crypto.getMD5(); md5.digest(null); }); } @Test @DisplayName("Should produce consistent hash results") void testHashConsistency() { // Given String input = "Test consistency"; byte[] data = input.getBytes(); // When MessageDigest md5_1 = Crypto.getMD5(); MessageDigest md5_2 = Crypto.getMD5();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/jcifs/util/HMACT64.java
this.opad[i] = (byte) (key[i] ^ OPAD); } for (int i = length; i < BLOCK_LENGTH; i++) { this.ipad[i] = IPAD; this.opad[i] = OPAD; } this.md5 = Crypto.getMD5(); engineReset(); } private HMACT64(final HMACT64 hmac) throws CloneNotSupportedException { super("HMACT64"); this.ipad = hmac.ipad; this.opad = hmac.opad;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.6K bytes - Click Count (0)