- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for Mac (0.14 sec)
-
internal/crypto/key.go
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Mar 19 20:28:10 GMT 2024 - 6.4K bytes - Viewed (0) -
internal/kms/single-key.go
algorithm = algorithmAESGCM } else { algorithm = algorithmChaCha20Poly1305 } var aead cipher.AEAD switch algorithm { case algorithmAESGCM: mac := hmac.New(sha256.New, kms.key) mac.Write(iv) sealingKey := mac.Sum(nil) var block cipher.Block block, err = aes.NewCipher(sealingKey) if err != nil { return DEK{}, err } aead, err = cipher.NewGCM(block)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Providers.setProviderList(providers); } } public void testMultipleUpdates() throws Exception { Mac mac = Mac.getInstance("HmacSHA1"); mac.init(SHA1_KEY); mac.update("hello".getBytes(UTF_8)); mac.update("world".getBytes(UTF_8)); assertEquals( HashCode.fromBytes(mac.doFinal()), Hashing.hmacSha1(SHA1_KEY) .newHasher() .putString("hello", UTF_8)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.8K bytes - Viewed (0) -
maven-core/src/site/resources/design/2.1-lifecycle-refactor.graffle
151.036}, {112, 28}}ClassShapedGraphicFi.3192139267921448Rota{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 {\fonttbl\f0\fswiss\fcharset77 Helvetica-Oblique;} {\colortbl;\red255\green255\blue255;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural \f0\i\fs24 \cf0 deprecated,\ marked for refactor}Bounds{{584.742, 252.673}, {104, 28}}ClassShapedGraphicFi.45520344376564026Rot{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 {\fonttbl\f0\fswiss\fcharset77...
Others - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sat Mar 11 17:19:02 GMT 2017 - 96.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
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 md.update((byte) ( ms_usage & 0xFF ));
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/MacHashFunction.java
} private static boolean supportsClone(Mac mac) { try { Object unused = mac.clone(); return true; } catch (CloneNotSupportedException e) { return false; } } private static Mac getMac(String algorithmName, Key key) { try { Mac mac = Mac.getInstance(algorithmName); mac.init(key); return mac; } catch (NoSuchAlgorithmException e) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 15 22:31:55 GMT 2022 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
*/ package jcifs.internal; /** * @author mbechler * */ public interface SMBSigningDigest { /** * Performs MAC signing of the SMB. This is done as follows. * The signature field of the SMB is overwritten with the sequence number; * The MD5 digest of the MAC signing key + the entire SMB is taken; * The first 8 bytes of this are placed in the signature field. * * @param data
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Providers.setProviderList(providers); } } public void testMultipleUpdates() throws Exception { Mac mac = Mac.getInstance("HmacSHA1"); mac.init(SHA1_KEY); mac.update("hello".getBytes(UTF_8)); mac.update("world".getBytes(UTF_8)); assertEquals( HashCode.fromBytes(mac.doFinal()), Hashing.hmacSha1(SHA1_KEY) .newHasher() .putString("hello", UTF_8)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.8K 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 public void testRC4Checksum1 () throws PACDecodingException, GeneralSecurityException {
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 22.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
private static final int SIGNATURE_LENGTH = 16; private final Mac digest; /** * @param sessionKey * @param dialect * @param preauthIntegrityHash * @throws GeneralSecurityException * */ public Smb2SigningDigest ( byte[] sessionKey, int dialect, byte[] preauthIntegrityHash ) throws GeneralSecurityException { Mac m; byte[] signingKey; switch ( dialect ) {
Java - Registered: Sun Apr 21 00:10:10 GMT 2024 - Last Modified: Tue Aug 17 17:34:29 GMT 2021 - 4.9K bytes - Viewed (0)