Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for calculateMacArcfourHMACMD5 (0.24 sec)

  1. src/test/java/jcifs/tests/PACTest.java

            byte[] datab = data.getBytes(StandardCharsets.US_ASCII);
            byte[] javaMac = sun.security.krb5.internal.crypto.ArcFourHmac.calculateChecksum(keyb, usage, datab, 0, datab.length);
            byte[] mac = PacMac.calculateMacArcfourHMACMD5(usage, makeKey(keyb, 23), datab);
            checkBytes(javaMac, mac);
            checkBytes(Hex.decode(expect), javaMac);
            checkBytes(Hex.decode(expect), mac);
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top