- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 297 for 256 (0.01 seconds)
-
src/main/java/jcifs/util/SecureCredentialStorage.java
* * Provides secure storage of passwords and other sensitive credentials * using AES-GCM encryption with PBKDF2 key derivation. * * Features: * - Encrypts credentials at rest using AES-256-GCM * - Uses PBKDF2 for key derivation from master password * - Secure wiping of sensitive data * - Thread-safe operations * - Protection against timing attacks */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
byte[] largeResponseBuffer = new byte[2048]; // Fill with some test data for (int i = 0; i < largeRequestBuffer.length; i++) { largeRequestBuffer[i] = (byte) (i % 256); } for (int i = 0; i < largeResponseBuffer.length; i++) { largeResponseBuffer[i] = (byte) ((i * 2) % 256); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
internal/event/target/kafka_scram_client_contrib.go
config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypePlaintext) } } // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used // to create Client objects configured for SHA-256 hashing. var KafkaSHA256 scram.HashGeneratorFcn = sha256.New // KafkaSHA512 is a function that returns a crypto/sha512 hasher and should be used // to create Client objects configured for SHA-512 hashing.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
assertThat(UnsignedBytes.parseUnsignedByte(Integer.toString(i))).isEqualTo((byte) i); } assertParseFails("1000"); assertParseFails("-1"); assertParseFails("-128"); assertParseFails("256"); } public void testMaxValue() { assertThat(UnsignedBytes.compare(UnsignedBytes.MAX_VALUE, (byte) (UnsignedBytes.MAX_VALUE + 1))) .isGreaterThan(0); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
.put("SHA1", sha1()) // Not the official name, but still works .put("sHa-1", sha1()) // Not the official name, but still works .put("SHA-1", sha1()) .put("SHA-256", sha256()) .put("SHA-384", sha384()) .put("SHA-512", sha512()) .build(); public void testHashing() throws Exception { for (String stringToTest : INPUTS) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
outputBufferLengthField.setAccessible(true); outputBufferLengthField.set(request, 0x8000); // Create a buffer and write byte[] buffer = new byte[256]; int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify structure size (should be 41) assertEquals(41, SMBUtil.readInt2(buffer, 64));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
* packet. */ @Test @DisplayName("happy: toString contains class info and field values") void testToStringContainsAllInfo() { int fid = 256; long lwt = 9876543210L; SmbComClose close = new SmbComClose(fid, lwt); String s = close.toString(); assertTrue(s.startsWith("SmbComClose["), "string should start with class name");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
internal/config/identity/openid/jwks_test.go
} } // A.1 - Example public keys func TestPublicKey(t *testing.T) { const jsonkey = `{"keys": [ {"kty":"EC", "crv":"P-256", "x":"MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4", "y":"4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM", "use":"enc", "kid":"1"}, {"kty":"RSA",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
try { // Attempt to read nativeFileSystem, but don't fail if there are issues final int fsLen = this.byteCount - (bufferIndex - start); if (fsLen > 0 && fsLen < 256) { // Sanity check on length this.nativeFileSystem = readString(buffer, bufferIndex); bufferIndex += stringWireLength(this.nativeFileSystem, bufferIndex); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0)