- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 212 for Digest (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
throws NoSuchAlgorithmException { MessageDigest digest = MessageDigest.getInstance(algorithmName); assertEquals( HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input)); for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) { assertEquals( HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
} } @Nested @DisplayName("Signature Verification Tests") class SignatureVerificationTests { @Test @DisplayName("Should verify signature when digest is present and successful") void testVerifySignatureSuccess() throws Exception { byte[] buffer = new byte[1024]; echoResponse.setDigest(mockDigest);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmUtil.java
hmac.update(Strings.getUNIBytes(user.toUpperCase())); hmac.update(Strings.getUNIBytes(domain.toUpperCase())); hmac = Crypto.getHMACT64(hmac.digest()); hmac.update(challenge); hmac.update(clientChallenge); hmac.digest(response, 0, 16); System.arraycopy(clientChallenge, 0, response, 16, 8); return response; } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
byte[] digest = md.digest(); String md5path = repository.pathOf(artifact) + ".md5"; File md5artifactFile = new File(repository.getBasedir(), md5path); try (Writer writer = new OutputStreamWriter(new FileOutputStream(md5artifactFile), StandardCharsets.ISO_8859_1)) { writer.append(printHexBinary(digest)); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
} // SMB 3.1.1 spec: Hash = Hash(PreviousHash || Message) digest.update(previousHash); digest.update(messageData); return digest.digest(); } catch (NoSuchAlgorithmException e) { throw new CIFSException("Hash algorithm not available: " + hashAlgorithm, e); } } /** * Gets the name of a hash algorithm. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
// Mock implementation return 0; } @Override public void setDigest(SMBSigningDigest digest) { this.digest = digest; } @Override public SMBSigningDigest getDigest() { return this.digest; } @Override public CommonServerMessageBlockResponse getResponse() { return this.response;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
public Smb2SigningDigest getDigest() { return this.digest; } /** * * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlock#setDigest(jcifs.internal.SMBSigningDigest) */ @Override public void setDigest(final SMBSigningDigest digest) { this.digest = (Smb2SigningDigest) digest; if (this.next != null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertTrue(testMessage.isResponse()); } } @Nested @DisplayName("Digest Tests") class DigestTests { @Test @DisplayName("Should get and set digest") void testDigestProperty() { assertNull(testMessage.getDigest()); testMessage.setDigest(mockDigest);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
*/ public interface SMBSigningDigest { /** * Performs MAC signing of the SMB. This is done as follows. * The signature field of the SMB is overwritten with the sequence number; * The MD5 digest of the MAC signing key + the entire SMB is taken; * The first 8 bytes of this are placed in the signature field. * * @param data * The data. * @param offsetCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; if (this.digest != null) { SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex); } else { log.trace("SmbComClose without a digest"); } return 6; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0)