-
- All Known Implementing Classes:
AbstractRandomizableAlgorithm
,DigestAlgorithm
,MD2
,MD4
,MD5
,RipeMD128
,RipeMD160
,RipeMD256
,RipeMD320
,SHA1
,SHA256
,SHA384
,SHA512
,Tiger
,Whirlpool
public interface Randomizable
Describes algorithms that support initialization with an arbitrary amount of random data.- Version:
- $Revision: 2745 $
- Author:
- Middleware Services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getRandomByteSize()
Gets the number of random bytes used for calculations that need random data.void
setRandomByteSize(int size)
Sets the number of random bytes used for calculations that need random data.
-
-
-
Method Detail
-
getRandomByteSize
int getRandomByteSize()
Gets the number of random bytes used for calculations that need random data.- Returns:
- Number of bytes of random data.
-
setRandomByteSize
void setRandomByteSize(int size)
Sets the number of random bytes used for calculations that need random data.- Parameters:
size
- Number of bytes to obtain from random provider.
-
-