Package | Description |
---|---|
org.josef.util.security |
Security related utility classes.
|
Modifier and Type | Method and Description |
---|---|
static HashingAlgorithm |
HashingAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashingAlgorithm[] |
HashingAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
Hash.hash(File file,
HashingAlgorithm algorithm)
Hashes input from the supplied file, using the supplied algorithm.
|
static String |
Hash.hash(String message,
HashingAlgorithm algorithm)
Hashes the supplied message using the supplied algorithm.
|
Copyright © 2008–2018. All rights reserved.