org.apache.commons.codec.digest
Class UnixCryptTest
java.lang.Object
   org.apache.commons.codec.digest.UnixCryptTest
org.apache.commons.codec.digest.UnixCryptTest
- public class UnixCryptTest 
- extends Object
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UnixCryptTest
public UnixCryptTest()
testCtor
public void testCtor()
- 
 
testUnixCryptStrings
public void testUnixCryptStrings()
- 
 
testUnixCryptBytes
public void testUnixCryptBytes()
- 
 
testUnixCryptExplicitCall
public void testUnixCryptExplicitCall()
- Some salts are invalid for crypt(3) but not for unixCrypt().
 
- 
 
testUnixCryptWithHalfSalt
public void testUnixCryptWithHalfSalt()
- Single character salts are illegal!
 E.g. with glibc 2.13, crypt("secret", "x") = "xxZREZpkHZpkI" but
 crypt("secret", "xx") = "xxWAum7tHdIUw" which makes it unverifyable.
 
- 
 
testUnicCryptInvalidSalt
public void testUnicCryptInvalidSalt()
- Unimplemented "$foo$" salt prefixes would be threated as UnixCrypt salt.
 
- 
 
testUnixCryptNullData
public void testUnixCryptNullData()
- 
 
testUnixCryptWithEmptySalt
public void testUnixCryptWithEmptySalt()
- 
 
testUnixCryptWithoutSalt
public void testUnixCryptWithoutSalt()
- 
 
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.