Class Crypto.NoOp

    • Method Detail

      • decrypt

        public byte[] decrypt​(String strToDecrypt)
        Description copied from class: Crypto
        The method returns either the decrypted strToDecrypt, either the strToDecrypt itself if it is not recognized as a crypted string or if the decryption fails. The return value is a byte array for security purpose, it is your responsibility to convert it then to a String or not (use of char[] is recommended).
        Overrides:
        decrypt in class Crypto
        Returns:
        the decrypted strToDecrypt as an array of bytes, never null
        See Also:
        Crypto.getChars(byte[])
      • clear

        public void clear()
        Description copied from class: Crypto
        Clear sensible values. That makes the current object unusable.
        Overrides:
        clear in class Crypto