Class UnixCrypt

java.lang.Object
org.eclipse.jetty.util.security.UnixCrypt

@Deprecated(since="2021-05-27") public class UnixCrypt extends Object
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Unix Crypt. Implements the one way cryptography used by Unix systems for simple password protection.
  • Method Details

    • crypt

      public static String crypt(String key, String setting)
      Deprecated.
      Encrypts String into crypt (Unix) code.
      Parameters:
      key - the key to be encrypted
      setting - the salt to be used
      Returns:
      the encrypted String
    • main

      public static void main(String[] arg)
      Deprecated.