Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for hex (0.01 sec)

  1. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                // The format is: NtlmChallenge[challenge=0x<hex>,dc=<dc_string>]
                assertTrue(result.startsWith("NtlmChallenge[challenge=0x"));
                assertTrue(result.endsWith(",dc=SERVER123]"));
    
                // Hexdump.toHexString with size = length * 2 produces 8 uppercase hex chars
                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Hexdump.java

     * This class provides methods for converting binary data to readable hex format.
     */
    
    public class Hexdump {
    
        /**
         * Default constructor.
         */
        public Hexdump() {
            // Utility class - no instance variables to initialize
        }
    
        /**
         * Array of hexadecimal digit characters used for converting binary data to hex representation.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/HexdumpTest.java

        @Test
        @DisplayName("Should convert byte array to hex string with offset and length")
        void testHexdumpWithOffset() {
            // Given
            byte[] data = createTestData(32);
    
            // When
            String result = Hexdump.toHexString(data, 0, data.length);
    
            // Then
            assertNotNull(result);
            assertFalse(result.isEmpty());
            // Should contain hex representation of first bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. cmd/hasher.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"crypto/md5"
    	"encoding/hex"
    
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    // getSHA256Hash returns SHA-256 hash in hex encoding of given data.
    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Hexdump.java

         *
         * @param val the integer value to convert to hexadecimal characters
         * @param dst the destination character array to write the hex digits into
         * @param dstIndex the starting index in the destination array
         * @param size the number of hex digits to write (will be left-padded with zeros)
         */
        public static void toHexChars(int val, final char dst[], final int dstIndex, int size) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input.");
            assertEquals("0x12345678", exception.getMessage(), "Message should be hex string for unknown error code.");
        }
    
        /**
         * Test constructor DcerpcException(String msg).
         */
        @Test
        void testConstructorWithMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

         * @param domain the authentication domain
         * @param username the username
         * @param passwordHashHex
         *            NT password hash, hex encoded
         */
        public NtlmNtHashAuthenticator(final String domain, final String username, final String passwordHashHex) {
            this(domain, username, Hex.decode(passwordHashHex));
        }
    
        private NtlmNtHashAuthenticator(final byte[] passwordHash) {
            this.ntHash = passwordHash;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
        String hex = "0123456789ABCDEF";
        return "%" + hex.charAt((c >> 4) & 0xf) + hex.charAt(c & 0xf);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. cmd/object-lambda-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"crypto/subtle"
    	"encoding/hex"
    	"io"
    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/klauspost/compress/gzhttp"
    	"github.com/lithammer/shortuuid/v4"
    	miniogo "github.com/minio/minio-go/v7"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top