Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 0xFE (0.24 sec)

  1. src/main/java/jcifs/util/Crypto.java

         *            7-byte "raw" DES key
         * @return 8-byte DES key with parity
         */
        static byte[] des7to8 ( byte[] key ) {
            byte key8[] = new byte[8];
            key8[ 0 ] = (byte) ( key[ 0 ] & 0xFE );
            key8[ 1 ] = (byte) ( ( key[ 0 ] << 7 ) | ( ( key[ 1 ] & 0xFF ) >>> 1 ) );
            key8[ 2 ] = (byte) ( ( key[ 1 ] << 6 ) | ( ( key[ 2 ] & 0xFF ) >>> 2 ) );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/util/SMBUtil.java

            (byte) 0x00, (byte) 0x00
        };
    
        public static final byte[] SMB2_HEADER = {
            (byte) 0xFE, (byte) 'S', (byte) 'M', (byte) 'B', // ProtocolId
            (byte) 64, (byte) 0x00, // StructureSize (LE)
            (byte) 0x00, (byte) 0x00, // CreditCharge (reserved 2.0.2)
            (byte) 0x00, (byte) 0x00, // ChannelSequence
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                 * 00SSFSMB
                 * 0 - 0's
                 * S - size of payload
                 * FSMB - 0xFF SMB magic #
                 */
    
                if ( this.sbuf[ 0 ] == (byte) 0x00 && this.sbuf[ 4 ] == (byte) 0xFE && this.sbuf[ 5 ] == (byte) 'S' && this.sbuf[ 6 ] == (byte) 'M'
                        && this.sbuf[ 7 ] == (byte) 'B' ) {
                    this.smb2 = true;
                    // also read the rest of the header
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top