Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for encryptText (0.2 sec)

  1. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

            final CachedCipher cipher2 = new CachedCipher();
            cipher2.setKey("key2");
    
            final String original = "Hello World";
            final String encrypted1 = cipher1.encryptText(original);
            final String encrypted2 = cipher2.encryptText(original);
    
            assertThat(encrypted1, is(not(encrypted2)));
            assertThat(cipher1.decryptText(encrypted1), is(original));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         *
         * @param text
         *            the text to encrypt
         * @return the encrypted text
         * @deprecated Use {@link #encryptText(String)} instead. This method name contains a typo.
         */
        @Deprecated
        public String encryptoText(final String text) {
            return encryptText(text);
        }
    
        /**
         * Decrypts the given data.
         *
         * @param data
         *            the data to decrypt
    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