Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Base64Util (0.38 sec)

  1. src/main/java/org/codelibs/core/misc/Base64Util.java

     * The API remains backward compatible with previous versions.
     * </p>
     *
     * @author higa
     */
    public abstract class Base64Util {
    
        /**
         * Do not instantiate.
         */
        protected Base64Util() {
        }
    
        /**
         * Encodes data in Base64.
         * <p>
         * This method uses {@link java.util.Base64.Encoder} for encoding.
         * </p>
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. 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 high-performance utility class for encrypting and decrypting data using cached {@link Cipher} instances.
     * <p>
     * This class provides efficient encryption/decryption by pooling and reusing cipher instances,
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top