- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for hmacMd5 (0.07 sec)
-
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
assertEquals( "Hashing.hmacMd5(Key[algorithm=HmacMD5, format=RAW])", Hashing.hmacMd5(keyData).toString()); assertEquals( "Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])", Hashing.hmacSha1(SHA1_KEY).toString()); assertEquals( "Hashing.hmacSha1(Key[algorithm=HmacSHA1, format=RAW])", Hashing.hmacSha1(keyData).toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>. * * @param key the secret key * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC * @since 20.0 */ public static HashFunction hmacMd5(Key key) { return new MacHashFunction("HmacMD5", key, hmacToString("hmacMd5", key)); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 29.3K bytes - Viewed (0) -
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) -
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) -
src/test/java/jcifs/tests/PACTest.java
} private static void testJavaHMAC ( String key, byte[] bytes, String expect ) throws NoSuchAlgorithmException, InvalidKeyException { Mac m = Mac.getInstance("HmacMD5"); m.init(new SecretKeySpec(Hex.decode(key), "HMAC")); byte[] mac = m.doFinal(bytes); 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)