Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for MAC (0.02 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

       * @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));
      }
    
      /**
       * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                Mac mac = Mac.getInstance("HmacSHA256");
                mac.init(new SecretKeySpec(sessionKey, "HmacSHA256"));
    
                // Zero signature field for calculation
                Arrays.fill(data, SIGNATURE_OFFSET, SIGNATURE_OFFSET + SIGNATURE_LENGTH, (byte) 0);
                mac.update(data, 0, data.length);
                byte[] validSig = mac.doFinal();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            Key macKey = new SecretKeySpec(key.clone(), KerberosConstants.HMAC_ALGORITHM);
            Mac mac = Mac.getInstance(KerberosConstants.HMAC_ALGORITHM);
            mac.init(macKey);
            return mac.doFinal(data);
        }
    
        /**
         * Returns the user's Kerberos realm.
         *
         * @return the user realm
         */
        public String getUserRealm() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. .gitignore

    .project
    .classpath
    .settings/
    .svn/
    
    # Intellij
    *.ipr
    *.iml
    .idea
    !.idea/icon.png
    /bootstrap
    /dependencies.xml
    .java-version
    .checkstyle
    .factorypath
    repo/
    
    # VSCode
    .vscode/
    
    # Mac
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Jun 10 14:03:26 UTC 2025
    - 207 bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Hashing.java

       * @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));
      }
    
      /**
       * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(serverChallenge);
            hmac.update(clientData, offset, length);
            final byte[] mac = hmac.digest();
            final byte[] ret = new byte[mac.length + clientData.length];
            System.arraycopy(mac, 0, ret, 0, mac.length);
            System.arraycopy(clientData, 0, ret, mac.length, clientData.length);
            return ret;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/SystemUtil.java

        /**
         * <code>line.separator</code> system property. For example, on Mac OS X: <code>"\n"</code>
         */
        public static final String LINE_SEPARATOR = System.getProperty("line.separator");
    
        /**
         * <code>path.separator</code> system property. For example, on Mac OS X: <code>":"</code>
         */
        public static final String PATH_SEPARATOR = System.getProperty("path.separator");
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         * signing/verifying SMB using kerberos session key.
         * The MAC Key = concat(Session Key, Digest of Challenge);
         * Because of Kerberos Authentication don't have challenge,
         * The MAC Key = Session Key
         *
         * @param macSigningKey
         *            The MAC key used to sign or verify SMB.
         */
        public SMB1SigningDigest(final byte[] macSigningKey) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

     * <p>
     * This service provides a platform-independent way to:
     * <ul>
     * <li>Query basic OS information like name, architecture, and version</li>
     * <li>Determine the OS family (e.g., Windows, Unix, Mac)</li>
     * <li>Check if the current OS is Windows-based</li>
     * </ul>
     * <p>
     * The service implementation uses system properties to detect OS characteristics:
     * <ul>
     * <li>os.name: The operating system name</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 10 14:12:18 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top