org.postgresql.util
Class UnixCrypt

java.lang.Object
  extended by org.postgresql.util.UnixCrypt

public class UnixCrypt
extends Object

Contains static methods to encrypt and compare passwords with Unix encrypted passwords.

See John Dumas's Java Crypt page for the original source.

Author:
jdumas@zgs.com (John Dumas)

Method Summary
static byte[] crypt(byte[] salt, byte[] original)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

crypt

public static final byte[] crypt(byte[] salt,
                                 byte[] original)


Copyright © 2013. All Rights Reserved.