Package com.openmeet.shared.utils

# Class PasswordEncrypter

java.lang.Object
com.openmeet.shared.utils.PasswordEncrypter

public class PasswordEncrypter extends Object
Class for password encryption.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PasswordEncrypter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `sha1(String password)`
  SHA1 Algorithm implementation.

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

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

- ## Constructor Details

  - ### PasswordEncrypter

    public PasswordEncrypter()

- ## Method Details

  - ### sha1

    public static String sha1(String password) throws NoSuchAlgorithmException
    SHA1 Algorithm implementation.
    Parameters:
      `password` - The password to encrypt.
    Returns:
      the encrypted password.
    Throws:
      `NoSuchAlgorithmException` - if the algorithm is not found.