Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hmacMd5 (0.12 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosConstants.java

        static final int AUTH_DATA_PAC = 128;
    
        static final int DES_ENC_TYPE = 3;
        static final int RC4_ENC_TYPE = 23;
        static final String RC4_ALGORITHM = "ARCFOUR";
        static final String HMAC_ALGORITHM = "HmacMD5";
        static final int CONFOUNDER_SIZE = 8;
        static final int CHECKSUM_SIZE = 16;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

        };
    
    
        public static byte[] calculateMacArcfourHMACMD5 ( int keyusage, Key key, byte[] data ) throws GeneralSecurityException {
            int ms_usage = mapArcfourMD5KeyUsage(keyusage);
            Mac mac = Mac.getInstance("HmacMD5");
            MessageDigest md = MessageDigest.getInstance("MD5");
            mac.init(key);
            byte[] dk = mac.doFinal(MD5_CONSTANT);
            try {
                // little endian
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
Back to top