Class EncryptUtil

java.lang.Object
org.apache.commons.vfs2.util.EncryptUtil

public final class EncryptUtil extends Object
Allows passwords to be encrypted and decrypted.
Since:
2.0
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Don't allow class instantiation.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    This class can be called with "encrypt" password as the arguments where encrypt is a literal and password is replaced with the clear text password to be encrypted.

    Methods inherited from class java.lang.Object

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

    • EncryptUtil

      private EncryptUtil()
      Don't allow class instantiation.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      This class can be called with "encrypt" password as the arguments where encrypt is a literal and password is replaced with the clear text password to be encrypted.
      Parameters:
      args - The arguments in the form "command" parm1, parm2.
      Throws:
      Exception - If an error occurs.