- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Base64Util (0.05 sec)
-
src/main/java/org/codelibs/core/misc/Base64Util.java
import org.codelibs.core.lang.StringUtil; /** * Utility class for handling Base64 encoding and decoding. * * @author higa */ public abstract class Base64Util { /** * Do not instantiate. */ protected Base64Util() { } private static final char[] ENCODE_TABLE = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
*/ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception */ public void testDecode() throws Exception { final byte[] decodedData = Base64Util.decode(ENCODED_DATA); assertEquals("1", BINARY_DATA.length, decodedData.length);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException; import org.codelibs.core.exception.NoSuchPaddingRuntimeException; import org.codelibs.core.exception.UnsupportedEncodingRuntimeException; import org.codelibs.core.misc.Base64Util; /** * A utility class for encrypting and decrypting data using a cached {@link Cipher} instance. */ public class CachedCipher { /** * Creates a new {@link CachedCipher} instance. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 11.5K bytes - Viewed (0)