- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for BASE64 (0.04 sec)
-
src/main/java/jcifs/smb1/util/Base64.java
*/ package jcifs.smb1.util; /** * Utility class for Base64 encoding and decoding operations. * Provides methods to convert between binary data and Base64 encoded strings. */ public class Base64 { /** * Private constructor to prevent instantiation of this utility class. */ private Base64() { // Utility class - not instantiable }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
testEncodingWithSeparators(base64(), "fo", "Zm8="); testEncodingWithSeparators(base64(), "foo", "Zm9v"); testEncodingWithSeparators(base64(), "foob", "Zm9vYg=="); testEncodingWithSeparators(base64(), "fooba", "Zm9vYmE="); testEncodingWithSeparators(base64(), "foobar", "Zm9vYmFy"); } @GwtIncompatible // Reader/Writer public void testBase64Streaming() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
testEncodingWithSeparators(base64(), "fo", "Zm8="); testEncodingWithSeparators(base64(), "foo", "Zm9v"); testEncodingWithSeparators(base64(), "foob", "Zm9vYg=="); testEncodingWithSeparators(base64(), "fooba", "Zm9vYmE="); testEncodingWithSeparators(base64(), "foobar", "Zm9vYmFy"); } @GwtIncompatible // Reader/Writer public void testBase64Streaming() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmSsp.java
if (msg != null && msg.startsWith("NTLM ")) { final byte[] src = Base64.decode(msg.substring(5)); if (src[8] == 1) { final Type1Message type1 = new Type1Message(src); final Type2Message type2 = new Type2Message(tc, type1, challenge, null); msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
@MethodSource("encodeProvider") void testEncode(byte[] input, String expected) { // Arrange & Act String actual = Base64.encode(input); // Assert assertEquals(expected, actual, "Base64.encode should match expected string"); } /** * Data provider for Base64 strings and expected decoded byte arrays. */ static Stream<Arguments> decodeProvider() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java
* @return the Base64-encoded Type 1 message * @throws NTLMEngineException if an NTLM engine error occurs */ @Override public String generateType1Msg(final String domain, final String workstation) throws NTLMEngineException { final Type1Message type1Message = new Type1Message(cifsContext, TYPE_1_FLAGS, domain, workstation); return Base64.getEncoder().encodeToString(type1Message.toByteArray());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 4.3K bytes - Viewed (0) -
cmd/postpolicyform_test.go
} else { // Expires in 10 days. pp.SetExpires(UTCNow().AddDate(0, 0, 10)) } tt.fv.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String()))) policyBytes, err := base64.StdEncoding.DecodeString(base64.StdEncoding.EncodeToString([]byte(pp.String()))) if err != nil { t.Fatal(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
import jcifs.smb1.ntlmssp.NtlmFlags; import jcifs.smb1.ntlmssp.NtlmMessage; import jcifs.smb1.ntlmssp.Type1Message; import jcifs.smb1.ntlmssp.Type2Message; import jcifs.smb1.ntlmssp.Type3Message; import jcifs.smb1.util.Base64; /** * Wraps an <code>HttpURLConnection</code> to provide NTLM authentication * services. * * Please read <a href="../../../httpclient.html">Using jCIFS NTLM Authentication for HTTP Connections</a>. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
byte[] encrypted = encryptCredentials(plaintext); return Base64.getEncoder().encodeToString(encrypted); } /** * Decrypt credentials from a base64 string * * @param encryptedString base64 encoded encrypted credentials * @return decrypted credentials * @throws GeneralSecurityException if decryption fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} /** * Encodes a string to URL-safe Base64 format. * * @param value the string to encode * @return Base64 encoded string, or empty string if value is null */ public static String base64(final String value) { if (value == null) { return StringUtil.EMPTY; } return Base64.getUrlEncoder().encodeToString(value.getBytes(Constants.CHARSET_UTF_8));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1)