Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for HMac (0.01 sec)

  1. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        // Integration test with actual MD5 to verify HMAC calculation logic
        @Test
        void testHMACT64WithActualMD5() throws NoSuchAlgorithmException {
            // This test uses a real MD5 instance to verify the HMAC calculation logic
            // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
            // instead of being hashed when it exceeds the block size.
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    	streamingContentSHA256        = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD"
    	streamingContentSHA256Trailer = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD-TRAILER"
    	signV4ChunkedAlgorithm        = "AWS4-HMAC-SHA256-PAYLOAD"
    	signV4ChunkedAlgorithmTrailer = "AWS4-HMAC-SHA256-TRAILER"
    	streamingContentEncoding      = "aws-chunked"
    	awsTrailerHeader              = "X-Amz-Trailer"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            HMACT64 hmac = new HMACT64(TEST_KEY);
            // MD5 digest length is 16 bytes
            assertEquals(16, hmac.engineGetDigestLength());
        }
    
        @Test
        void testEngineDigest() {
            // Test engineDigest()
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
            byte[] result = hmac.engineDigest();
    
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacSignature.java

     * supporting various checksum algorithms including HMAC-MD5 and HMAC-SHA1 with AES.
     */
    public class PacSignature {
    
        /**
         * Kerberos checksum type for HMAC-MD5 (ARCFOUR-HMAC).
         */
        public static final int KERB_CHECKSUM_HMAC_MD5 = 0xFFFFFF76;
        /**
         * Kerberos checksum type for HMAC-SHA1-96 with AES-128.
         */
        public static final int HMAC_SHA1_96_AES128 = 0x0000000F;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. cmd/postpolicyform_test.go

    		{
    			policy:  `{"conditions":[["eq","$bucket","asdf"],["eq","$key","hello.txt"]],"conditions":[["eq","$success_action_status","201"],["eq","$Content-Type","plain/text"],["eq","$success_action_status","201"],["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"],["eq","$x-amz-credential","Q3AM3UQ867SPQQA43P2F/20210315/us-east-1/s3/aws4_request"],["eq","$x-amz-date","20210315T091621Z"]]}`,
    			success: false,
    		},
    		// invalid json.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // AWS Signature Version '4' constants.
    const (
    	signV4Algorithm = "AWS4-HMAC-SHA256"
    	iso8601Format   = "20060102T150405Z"
    	yyyymmdd        = "20060102"
    )
    
    type serviceType string
    
    const (
    	serviceS3  serviceType = "s3"
    	serviceSTS serviceType = "sts"
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacMac.java

     * ARCFOUR-HMAC-MD5 and AES-based HMAC algorithms.
     */
    public class PacMac {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private PacMac() {
            // Utility class
        }
    
        /**
         *
         */
        private static final String HMAC_KEY = "HMAC";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmUtil.java

            final byte[] response = new byte[24];
            MessageDigest hmac = Crypto.getHMACT64(passwordHash);
            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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                HMACT64 hmac = new HMACT64(md4.digest());
                hmac.update(user.toUpperCase().getBytes(SmbConstants.UNI_ENCODING));
                hmac.update(domain.toUpperCase().getBytes(SmbConstants.UNI_ENCODING));
                hmac = new HMACT64(hmac.digest());
                hmac.update(challenge);
                hmac.update(clientChallenge);
                hmac.digest(response, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  10. docs/ftp/README.md

    This is based on RFC 4253, section 6.4, but with hmac-md5 variants removed because they have 
    reached the end of their useful life.
    
    Valid values: 
    
    ```
    hmac******@****.***
    hmac******@****.***
    hmac-sha2-256
    hmac-sha2-512
    hmac-sha1
    hmac-sha1-96
    ```
    
    ### Certificate-based authentication
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top