class HashingStrategy extends AnyRef
Hashing Strategy manager.
This class will load system provided hashing strategies and algorithms.
- Alphabetic
- By Inheritance
- HashingStrategy
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new HashingStrategy(_asJava: AnyRef)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: AnyRef
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(id: String): HashingAlgorithm
Get an algorithm interface by its Id * @param id the algorithm id
Get an algorithm interface by its Id * @param id the algorithm id
- returns
the algorithm
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hash(id: String, params: Map[String, String], salt: String, password: String): String
Hashes a password.
Hashes a password. * @param id the algorithm id
- params
the algorithm specific paramters
- salt
the given salt
- password
the given password
- returns
the hashed string
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
put(id: String, algorithm: HashingAlgorithm): HashingStrategy
Put or replace an algorithm into the list of system loaded algorithms.
Put or replace an algorithm into the list of system loaded algorithms. * @param id the algorithm id
- algorithm
the implementation
- returns
self
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
verify(hash: String, password: String): Boolean
Time constant password check.
Time constant password check. Regardless of the check, this algorithm executes the same number of checks regardless of the correctly number of characters * @param hash the hash to verify
- password
the password to test against
- returns
boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )