- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 118 for hmac (0.08 sec)
-
guava-tests/test/com/google/common/hash/HashingTest.java
&& !method.getName().equals("concatenating") // don't test Hashing.concatenating() && !method.getName().equals("goodFastHash") // tested in testGoodFastHashEquals && !method.getName().startsWith("hmac")) { // skip hmac functions Object[] params1 = new Object[method.getParameterTypes().length]; Object[] params2 = new Object[method.getParameterTypes().length]; for (int i = 0; i < params1.length; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
src/test/java/jcifs/pac/PacTest.java
import org.mockito.MockedStatic; class PacTest { private Map<Integer, KerberosKey> keys; @BeforeEach void setUp() { keys = new HashMap<>(); // Use ARCFOUR-HMAC encryption type (23) which matches KERB_CHECKSUM_HMAC_MD5 KerberosKey serverKey = new KerberosKey(new KerberosPrincipal("******@****.***"), "serverKey1234567".getBytes(), PacSignature.ETYPE_ARCFOUR_HMAC, 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
// Using a key with a known value for reproducibility SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR"); byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA); assertNotNull(mac); assertEquals(16, mac.length); // Test with a different key usage byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA); assertNotNull(mac2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/test-utils_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "archive/zip" "bufio" "bytes" "context" "crypto/ecdsa" "crypto/hmac" crand "crypto/rand" "crypto/rsa" "crypto/sha1" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "encoding/base64" "encoding/hex" "encoding/pem" "encoding/xml" "errors" "flag" "fmt"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
// Create new Mac instance for thread safety without blocking other operations Mac mac; try { mac = createMacInstance(); } catch (GeneralSecurityException e) { log.error("Failed to create Mac instance for signing", e); throw new RuntimeException("Failed to create Mac instance", e); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
} /** * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the * MD5 (128 hash bits) hash function and the given secret key. * * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other * future-proof algorithms <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
&& !method.getName().equals("concatenating") // don't test Hashing.concatenating() && !method.getName().equals("goodFastHash") // tested in testGoodFastHashEquals && !method.getName().startsWith("hmac")) { // skip hmac functions Object[] params1 = new Object[method.getParameterTypes().length]; Object[] params2 = new Object[method.getParameterTypes().length]; for (int i = 0; i < params1.length; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
private static final String USER_PRINCIPAL_NAME = "******@****.***"; private static final String USER_REALM = "EXAMPLE.COM"; private static final int ENCRYPTION_TYPE = 23; // aes128-cts-hmac-sha1-96 private static final byte[] ENCRYPTED_DATA = "encrypted-data".getBytes(); @BeforeEach void setUp() { keys = new KerberosKey[] { kerberosKey }; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/lambda/README.md
fmt.Println(presignedURL) } ``` Use the Presigned URL via `curl` to receive the transformed object. ``` curl -v $(go run presigned.go) ... ...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 7.7K bytes - Viewed (0) -
cmd/encryption-v1_test.go
} if iv, ok := test.metadata[crypto.MetaIV]; !ok { t.Errorf("Test %d: crypto.SSEIV must be part of metadata: %v", i, iv) } if mac, ok := test.metadata[crypto.MetaSealedKeySSEC]; !ok { t.Errorf("Test %d: ServerSideEncryptionKeyMAC must be part of metadata: %v", i, mac) } } } var decryptObjectMetaTests = []struct { info ObjectInfo request *http.Request expErr error }{ {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 19.9K bytes - Viewed (0)