- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 222 for getBytes (0.2 sec)
-
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
MD4 md4 = new MD4(); md4.update(password.getBytes(SmbConstants.UNI_ENCODING)); HMACT64 hmac = new HMACT64(md4.digest()); hmac.update(user.toUpperCase().getBytes(SmbConstants.UNI_ENCODING)); hmac.update(domain.toUpperCase().getBytes(SmbConstants.UNI_ENCODING)); hmac = new HMACT64(hmac.digest()); hmac.update(challenge);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
public void testSomeOtherKnownValues() { assertCrc(0x22620404, "The quick brown fox jumps over the lazy dog".getBytes(UTF_8)); assertCrc(0xE3069283, "123456789".getBytes(UTF_8)); assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8)); assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8)); } public void testAgainstSimplerImplementation() { Random r = new Random(1234567);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Dec 23 18:30:33 GMT 2020 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
@Override public CharSource createSource(String string) throws IOException { return factory.createSource(string.getBytes(Charsets.UTF_8)).asCharSource(Charsets.UTF_8); } @Override public String getExpected(String data) { return new String(factory.getExpected(data.getBytes(Charsets.UTF_8)), Charsets.UTF_8); } @Override public void tearDown() throws IOException {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
public FsctlPipeWaitRequest ( String name ) { this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE); this.timeoutSpecified = false; this.timeout = 0; } /** * @param name * @param timeout * */ public FsctlPipeWaitRequest ( String name, long timeout ) { this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE); this.timeoutSpecified = true;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
offerEncryptoCipher(cipher); } return encrypted; } public String encryptoText(final String text) { try { return Base64Util.encode(encrypto(text.getBytes(charsetName))); } catch (final UnsupportedEncodingException e) { throw new UnsupportedEncodingRuntimeException(e); } } public byte[] decrypto(final byte[] data) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
public void testSomeOtherKnownValues() { assertCrc(0x22620404, "The quick brown fox jumps over the lazy dog".getBytes(UTF_8)); assertCrc(0xE3069283, "123456789".getBytes(UTF_8)); assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8)); assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8)); } public void testAgainstSimplerImplementation() { Random r = new Random(1234567);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 23 18:30:33 GMT 2020 - 6.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
throw new RuntimeException(e); } return false; } } @Override public Optional<byte[]> getBytes(URI relativeSource) { try { Path tempPath = null; try { tempPath = Files.createTempFile("transport-get", "tmp"); if (get(relativeSource, tempPath)) {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
verifyAESHMAC(3, expect, key, data.getBytes(StandardCharsets.US_ASCII)); } @Test public void testAES256Checksum () throws GeneralSecurityException { String data = "fourteen"; String key = "B1AE4CD8462AFF1677053CC9279AAC30B796FB81CE21474DD3DDBCFEA4EC76D7"; String expect = "E08739E3279E2903EC8E3836"; verifyAESHMAC(4, expect, key, data.getBytes(StandardCharsets.US_ASCII)); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 22.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
} catch (IOException e) { throw new IORuntimeException(e); } } else if (url.contains("plugin/repo2")) { try (InputStream is = ResourceUtil.getResourceAsStream(url)) { return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.9K bytes - Viewed (0)