- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for engineDigest (1.62 sec)
-
src/test/java/jcifs/util/HMACT64Test.java
HMACT64 hmac = new HMACT64(TEST_KEY); byte[] result = hmac.engineDigest(); assertArrayEquals(finalDigest, result); verify(mockMd5, times(1)).digest(); // First call for inner digest verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor with ipad, once in engineDigest with opad verify(mockMd5, times(1)).digest(innerDigest); // Second call for final digest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
void testEngineDigest() { // Test engineDigest() HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] result = hmac.engineDigest(); assertNotNull(result); assertEquals(16, result.length); // MD5 produces 16 bytes } @Test void testEngineDigestWithBuffer() { // Test engineDigest(byte[] buf, int offset, int len)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/HMACT64.java
throw new IllegalStateException(ex.getMessage()); } } @Override protected byte[] engineDigest() { final byte[] digest = md5.digest(); md5.update(opad); return md5.digest(digest); } @Override protected int engineDigest(final byte[] buf, final int offset, final int len) { final byte[] digest = md5.digest(); md5.update(opad);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/util/HMACT64.java
throw new IllegalStateException(ex.getMessage()); } } @Override protected byte[] engineDigest() { final byte[] digest = this.md5.digest(); this.md5.update(this.opad); return this.md5.digest(digest); } @Override protected int engineDigest(final byte[] buf, final int offset, final int len) { final byte[] digest = this.md5.digest();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
} /** * Completes the hash computation by performing final operations such * as padding. At the return of this engineDigest, the MD engine is * reset. * * @return the array of bytes for the resulting hash value. */ @Override public byte[] engineDigest() { // pad output to 56 mod 64; as RFC1320 puts it: congruent to 448 mod 512
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0)