Package com.orchestranetworks.service.directory

# Class EncryptPassword

java.lang.Object
com.orchestranetworks.service.directory.EncryptPassword

public final class EncryptPassword extends Object
Provides a EBX® Default Directory Utility to encrypt a user password.

Since:
  6.0.12
See Also:
  - Setting automatic installation on first launch
  - `DirectoryDefault`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EncryptPassword()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `encrypt(String aLogin, String aPassword)`
  Returns an encrypted password if login and password are defined, otherwise returns `null`.
  `static void`
  `main(String[] args)`
  Provides an external entry point utility that outputs an encrypted password.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EncryptPassword

    public EncryptPassword()

- ## Method Details

  - ### main

    public static void main(String[] args)
    Provides an external entry point utility that outputs an encrypted password.

    Usage: java -cp ebx.jar com.orchestranetworks.service.directory.EncryptPassword <login> <password_to_encrypt>

  - ### encrypt

    public static String encrypt(String aLogin, String aPassword)
    Returns an encrypted password if login and password are defined, otherwise returns `null`.