- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for MAC (0.01 sec)
-
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
// Create new Mac instance for thread safety without blocking other operations Mac mac; try { mac = createMacInstance(); } catch (GeneralSecurityException e) { log.error("Failed to create Mac instance for signing", e); throw new RuntimeException("Failed to create Mac instance", e); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K 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)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K 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));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
ci/official/utilities/setup_macos.sh
# ============================================================================== # # macOS specific setup for all TF scripts. # # Mac version of Core utilities differ in usage. Since our scripts are written # with the GNU style, we need to set GNU utilities to be default on Mac. if [[ -n "$(which grealpath)" ]] && [[ -n "$(which gstat)" ]]; then alias realpath=grealpath alias stat=gstat
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Jun 23 23:03:02 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 13, 16); src[srcIndex + 28] = 0x00; // hex code src[srcIndex + 29] = 0x04; // flags // MAC address (6 bytes) byte[] mac = new byte[6]; System.arraycopy(mac, 0, src, srcIndex + 31, 6); // Stats (6 bytes) byte[] stats = new byte[6]; System.arraycopy(stats, 0, src, srcIndex + 37, 6);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
/** * Retrieves the MAC address of the remote network interface. Samba returns all zeros. * * @param tc * context to use * * @return the MAC address as an array of six bytes * @throws UnknownHostException * if the host cannot be resolved to * determine the MAC address. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
private int updates; private int signSequence; /** * Constructs a new signing digest with the specified MAC signing key. * * @param macSigningKey the MAC signing key for message authentication * @param bypass whether to bypass MAC signing * @throws SmbException if MD5 algorithm is not available */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
// Using a key with a known value for reproducibility SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR"); byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA); assertNotNull(mac); assertEquals(16, mac.length); // Test with a different key usage byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA); assertNotNull(mac2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/vi/docs/environment-variables.md
``` /// tip Tham số thứ hai cho <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> là giá trị mặc định để trả về. Nếu không được cung cấp, nó mặc định là `None`, ở đây chúng ta cung cấp `"World"` là giá trị mặc định để sử dụng. /// Sau đó bạn có thể gọi chương trình Python: //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Feb 07 22:17:13 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
* message integrity and authenticity using MAC (Message Authentication Code) algorithms. * * @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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0)