Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for hex (0.14 sec)

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

            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 28 00:10:09 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

         * 
         * @param domain
         * @param username
         * @param passwordHashHex
         *            NT password hash, hex encoded
         */
        public NtlmNtHashAuthenticator ( String domain, String username, String passwordHashHex ) {
            this(domain, username, Hex.decode(passwordHashHex));
        }
    
    
        private NtlmNtHashAuthenticator ( byte[] passwordHash ) {
            super();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/NameServiceClient.java

    
        /**
         * Determines the address of a host given it's host name. NetBIOS
         * names also have a <code>type</code>. Types(aka Hex Codes)
         * are used to distinguish the various services on a host. <a
         * href="../../../nbtcodes.html">Here</a> is
         * a fairly complete list of NetBIOS hex codes. Scope is not used but is
         * still functional in other NetBIOS products and so for completeness it has been
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/UUID.java

            node[3] = B(hex_to_bin(arr, 30, 2));
            node[4] = B(hex_to_bin(arr, 32, 2));
            node[5] = B(hex_to_bin(arr, 34, 2));
        }
    
        public String toString() {
            return bin_to_hex(time_low, 8) + '-' +
                    bin_to_hex(time_mid, 4) + '-' +
                    bin_to_hex(time_hi_and_version, 4) + '-' +
                    bin_to_hex(clock_seq_hi_and_reserved, 2) +
                    bin_to_hex(clock_seq_low, 2) + '-' +
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/UUID.java

            this.node[ 3 ] = B(hex_to_bin(arr, 30, 2));
            this.node[ 4 ] = B(hex_to_bin(arr, 32, 2));
            this.node[ 5 ] = B(hex_to_bin(arr, 34, 2));
        }
    
    
        @Override
        public String toString () {
            return bin_to_hex(this.time_low, 8) + '-' + bin_to_hex(this.time_mid, 4) + '-' + bin_to_hex(this.time_hi_and_version, 4) + '-'
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Hexdump.java

         * @param src
         * @param srcIndex
         * @param size
         * @return hex string
         */
        public static String toHexString ( byte[] src, int srcIndex, int size ) {
            char[] c = new char[2 * size];
            for ( int i = 0, j = 0; i < size; i++ ) {
                c[ j++ ] = HEX_DIGITS[ ( src[ srcIndex + i ] >> 4 ) & 0x0F ];
                c[ j++ ] = HEX_DIGITS[ src[ srcIndex + i ] & 0x0F ];
            }
            return new String(c);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        }
    
    /** 
     * Determines the address of a host given it's host name. NetBIOS
     * names also have a <code>type</code>. Types(aka Hex Codes)
     * are used to distiquish the various services on a host. <a
     * href="../../../nbtcodes.html">Here</a> is
     * a fairly complete list of NetBIOS hex codes. Scope is not used but is
     * still functional in other NetBIOS products and so for completeness it has been
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/NetbiosAddress.java

         *             if the host cannot be resolved to
         *             determine the MAC address.
         */
        byte[] getMacAddress ( CIFSContext tc ) throws UnknownHostException;
    
    
        /**
         * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
         * 
         * @return the name type
         */
        int getNameType ();
    
    
        /**
         * @return the name for this address
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/JsonUtil.java

                    break;
                default:
                    if (c < ' ') {
                        final String hex = Integer.toHexString(c);
                        buf.append("\\u");
                        for (int j = 0; j < 4 - hex.length(); j++) {
                            buf.append('0');
    
                        }
                        buf.append(hex);
                    } else {
                        buf.append(c);
                    }
                }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/Hexdump.java

            size = ( size % 2 == 0 ) ? size / 2 : size / 2 + 1;
            for( int i = 0, j = 0; i < size; i++ ) {
                c[j++] = HEX_DIGITS[(src[i] >> 4 ) & 0x0F];
                if( j == c.length ) {
                    break;
                }
                c[j++] = HEX_DIGITS[src[i] & 0x0F];
            }
            return new String( c );
        }
    
    /** 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 5.4K bytes
    - Viewed (0)
Back to top