Class StrongTextEncryptor

    • Constructor Summary

      Constructors 
      Constructor Description
      StrongTextEncryptor()
      Creates a new instance of StrongTextEncryptor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String decrypt​(String encryptedMessage)
      Decrypts a message.
      String encrypt​(String message)
      Encrypts a message.
      void setPassword​(String password)
      Sets a password.
      void setPasswordCharArray​(char[] password)
      Sets a password, as a char[].
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StrongTextEncryptor

        public StrongTextEncryptor()
        Creates a new instance of StrongTextEncryptor.
    • Method Detail

      • setPassword

        public void setPassword​(String password)
        Sets a password.
        Parameters:
        password - the password to be set.
      • setPasswordCharArray

        public void setPasswordCharArray​(char[] password)
        Sets a password, as a char[].
        Parameters:
        password - the password to be set.
        Since:
        1.8