- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for hmacSha256 (0.22 seconds)
-
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
.isEqualTo("Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])"); assertThat(hmacSha256(SHA256_KEY).toString()) .isEqualTo("Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])"); assertThat(hmacSha256(keyData).toString()) .isEqualTo("Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])"); assertThat(hmacSha512(SHA512_KEY).toString())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hashing.java
* @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC * @since 20.0 */ public static HashFunction hmacSha256(Key key) { return new MacHashFunction("HmacSHA256", key, hmacToString("hmacSha256", key)); } /** * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
// Set signed flag SMBUtil.writeInt4(ServerMessageBlock2.SMB2_FLAGS_SIGNED, data, 16); // Create valid signature using HmacSHA256 Mac mac = Mac.getInstance("HmacSHA256"); mac.init(new SecretKeySpec(sessionKey, "HmacSHA256")); // Zero signature field for calculation for (int i = 0; i < SIGNATURE_LENGTH; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
throws GeneralSecurityException { switch (dialect) { case Smb2Constants.SMB2_DIALECT_0202: case Smb2Constants.SMB2_DIALECT_0210: this.algorithmName = "HmacSHA256"; this.provider = null; this.signingKey = sessionKey.clone(); break; case Smb2Constants.SMB2_DIALECT_0300: case Smb2Constants.SMB2_DIALECT_0302:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
public byte[] generateChannelBindingHash(ChannelInfo channel) throws GeneralSecurityException { // Use HMAC-SHA256 for channel binding Mac mac = Mac.getInstance("HmacSHA256"); SecretKeySpec keySpec = new SecretKeySpec(sessionKey, "HmacSHA256"); mac.init(keySpec); // Include channel-specific data mac.update(channel.getLocalInterface().getAddress().getAddress());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0)