- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for hmacSha256 (0.04 seconds)
-
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Hashing.hmacSha1(keyData).toString()); assertEquals( "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])", Hashing.hmacSha256(SHA256_KEY).toString()); assertEquals( "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])", Hashing.hmacSha256(keyData).toString()); assertEquals( "Hashing.hmacSha512(Key[algorithm=HmacSHA512, format=RAW])",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 13.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Hashing.hmacSha1(keyData).toString()); assertEquals( "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])", Hashing.hmacSha256(SHA256_KEY).toString()); assertEquals( "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])", Hashing.hmacSha256(keyData).toString()); assertEquals( "Hashing.hmacSha512(Key[algorithm=HmacSHA512, format=RAW])",
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 13.8K 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 Dec 26 12:43:10 GMT 2025 - 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: Sat Dec 20 13:44:44 GMT 2025 - 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: Sat Dec 20 13:44:44 GMT 2025 - 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0)