Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for HMac (1.2 sec)

  1. 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)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

            assertFalse(Arrays.equals(viaPassword, differentDomain), "Different domain should produce a different key");
        }
    
        @Test
        @DisplayName("computeResponse: HMAC(server||clientData) prepended to clientData")
        void testComputeResponse_basic() {
            // Arrange
            byte[] key = hex("0102030405060708090A0B0C0D0E0F10");
            byte[] serverChallenge = hex("1122334455667788");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacMacTest.java

            keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, hmacKey);
            keys.put(PacSignature.ETYPE_AES128_CTS_HMAC_SHA1_96, aes128Key);
            keys.put(PacSignature.ETYPE_AES256_CTS_HMAC_SHA1_96, aes256Key);
    
            // Test HMAC-MD5
            byte[] mac1 = PacMac.calculateMac(PacSignature.KERB_CHECKSUM_HMAC_MD5, keys, TEST_DATA);
            assertNotNull(mac1);
            assertEquals(16, mac1.length);
    
            // Test AES128
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                m = Mac.getInstance(this.algorithmName, this.provider);
            } else {
                m = Mac.getInstance(this.algorithmName);
            }
            m.init(new SecretKeySpec(this.signingKey, "HMAC"));
            return m;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SMBSigningDigest#sign(byte[], int, int, jcifs.internal.CommonServerMessageBlock,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. 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)
  7. 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
       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. cmd/encryption-v1_test.go

    		Size:   595160760,
    		UserDefined: map[string]string{
    			crypto.MetaMultipart:                   "",
    			crypto.MetaIV:                          "HTexa=",
    			crypto.MetaAlgorithm:                   "DAREv2-HMAC-SHA256",
    			crypto.MetaSealedKeySSEC:               "IAA8PGAA==",
    			ReservedMetadataPrefix + "actual-size": "594870264",
    			"content-type":                         "application/octet-stream",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top