Algorithm
, Randomizable
, Cloneable
public class SHA384 extends DigestAlgorithm
SHA384
contains functions for hashing data using the SHA-384
algorithm. This algorithm outputs a 384 bit hash.
algorithm, randomProvider
randomByteSize
CHUNK_SIZE, digest, salt
Constructor | Description |
---|---|
SHA384() |
Creates an uninitialized instance of an SHA384 digest.
|
SHA384(boolean randomize) |
Creates a new SHA384 digest that may optionally be initialized with
random data.
|
SHA384(byte[] salt) |
Creates a new SHA384 digest and initializes it with the given salt.
|
getAlgorithm, getRandomData, setRandomProvider, toString
getRandomByteSize, setRandomByteSize
clone, digest, digest, digest, digest, getDigest, getRandomSalt, newInstance, setDigest, setSalt
public SHA384()
public SHA384(boolean randomize)
randomize
- True to randomize initial state of digest, false
otherwise.public SHA384(byte[] salt)
salt
- Salt data used to initialize digest computation.Copyright © 2021. All rights reserved.