org.fuin.objects4j
Class PasswordSha512

java.lang.Object
  extended by org.fuin.objects4j.PasswordSha512
All Implemented Interfaces:
java.io.Serializable

@Immutable
public final class PasswordSha512
extends java.lang.Object
implements java.io.Serializable

SHA-512 hashed password.

See Also:
Serialized Form

Constructor Summary
PasswordSha512(Password password)
          Constructor with password.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordSha512

@Requires(value="password!=null")
public PasswordSha512(Password password)
Constructor with password.

Parameters:
password - Clear text password.
Method Detail

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.