- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,385 for 1byte (0.01 sec)
-
src/main/java/jcifs/smb1/util/HMACT64.java
private static final int BLOCK_LENGTH = 64; private static final byte IPAD = (byte) 0x36; private static final byte OPAD = (byte) 0x5c; private MessageDigest md5; private byte[] ipad = new byte[BLOCK_LENGTH]; private byte[] opad = new byte[BLOCK_LENGTH]; /** * Creates an HMACT64 instance which uses the given secret key material. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/util/HMACT64.java
private static final int BLOCK_LENGTH = 64; private static final byte IPAD = (byte) 0x36; private static final byte OPAD = (byte) 0x5c; private final MessageDigest md5; private byte[] ipad = new byte[BLOCK_LENGTH]; private byte[] opad = new byte[BLOCK_LENGTH]; /** * Creates an HMACT64 instance which uses the given secret key material. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/util/ByteEncodable.java
/** * Interface for objects that can be encoded to byte arrays. * Provides standardized method for converting objects to their binary representation. * * @author mbechler */ public class ByteEncodable implements Encodable { private final byte[] bytes; private final int off; private final int len; /** * Constructs a ByteEncodable object wrapping a byte array segment. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
*/ private static byte[] decryptRC4(byte[] data, Key key) throws GeneralSecurityException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException { Cipher cipher; byte[] decrypt; byte[] code = new byte[4]; Encdec.enc_uint32le(2, code, 0); byte[] codeHmac = getHmac(code, key.getEncoded());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
// Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes) private static byte[] buildExportName(Oid mech, String name) throws GSSException { byte[] der = mech.getDER(); byte[] nb = name.getBytes(); int len = 2 + 2 + der.length + 4 + nb.length; byte[] out = new byte[len]; int i = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testReadLengthMaximum() { byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF }; int length = SessionServicePacket.readLength(src, 0); assertEquals(0x01FFFF, length); } @Test @DisplayName("readLength should handle zero length") void testReadLengthZero() { byte[] src = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param data the data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int algorithm) throws CIFSException; /** * Compresses data using the specified algorithm with offset and length. * * @param data the data bufferRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertEquals(0, dst[1]); // Verify descriptor (WrLehDO\0B16BBDz\0 in ASCII) String expectedDescr = "WrLehDO\u0000B16BBDz\u0000"; byte[] expectedDescrBytes = expectedDescr.getBytes("ASCII"); byte[] actualDescrBytes = new byte[expectedDescrBytes.length]; System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length); assertArrayEquals(expectedDescrBytes, actualDescrBytes);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java
this.maxDataCount = 65536; this.maxSetupCount = (byte) 0x00; } @Override public int getPadding() { return 4; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0)