org.silverpeas.authentication.encryption
Class UnixSHA512EncryptionTest
java.lang.Object
org.silverpeas.authentication.encryption.UnixSHA512EncryptionTest
public class UnixSHA512EncryptionTest
- extends Object
Unit tests on the Unix variant of the SHA-512 encryption for passwords.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnixSHA512EncryptionTest
public UnixSHA512EncryptionTest()
setUp
public void setUp()
throws Exception
- Throws:
Exception
testEncryptionOfANullPassword
public void testEncryptionOfANullPassword()
throws Exception
- Throws:
Exception
testEncryptionOfAnEmptyPassword
public void testEncryptionOfAnEmptyPassword()
throws Exception
- Throws:
Exception
testEncryptionOfANonEmptyPassword
public void testEncryptionOfANonEmptyPassword()
throws Exception
- Throws:
Exception
testEncryptionWithARoundsInstruction
public void testEncryptionWithARoundsInstruction()
throws Exception
- Throws:
Exception
testCheckSuccess
public void testCheckSuccess()
throws Exception
- Throws:
Exception
testCheckSuccessWithEmptyPassword
public void testCheckSuccessWithEmptyPassword()
throws Exception
- Throws:
Exception
testCheckWithNullPassword
public void testCheckWithNullPassword()
throws Exception
- Throws:
Exception
testCheckFailure
public void testCheckFailure()
throws Exception
- Throws:
Exception
testCheckWithNonConformDigest
public void testCheckWithNonConformDigest()
throws Exception
- Throws:
Exception
testGetSaltUsedInDigest
public void testGetSaltUsedInDigest()
throws Exception
- Throws:
Exception
testGetSaltUsedInACompleteDigest
public void testGetSaltUsedInACompleteDigest()
throws Exception
- Throws:
Exception
testGetSaltUsedInANonConformDigest
public void testGetSaltUsedInANonConformDigest()
throws Exception
- Throws:
Exception
testGetSaltUsedInAnEmptyDigest
public void testGetSaltUsedInAnEmptyDigest()
throws Exception
- Throws:
Exception
testGetSaltUsedInANullDigest
public void testGetSaltUsedInANullDigest()
throws Exception
- Throws:
Exception
testDoUnderstandDigestWithoutRounds
public void testDoUnderstandDigestWithoutRounds()
throws Exception
- Throws:
Exception
testDoUnderstandCompleteDigest
public void testDoUnderstandCompleteDigest()
throws Exception
- Throws:
Exception
testDoUnderstandDigestOfEmptyPassword
public void testDoUnderstandDigestOfEmptyPassword()
throws Exception
- Throws:
Exception
testDoUnderstandNonConformDigest
public void testDoUnderstandNonConformDigest()
throws Exception
- Throws:
Exception
testDoUnderstandEmptyDigest
public void testDoUnderstandEmptyDigest()
throws Exception
- Throws:
Exception
testDoUnderstandNullDigest
public void testDoUnderstandNullDigest()
throws Exception
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.