Class SystemSeed
java.lang.Object
org.jpos.security.SystemSeed
Provides deterministic byte sequences derived from a built-in seed table,
used as a stable source of pseudo-random data when no live RNG is needed.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SystemSeed
public SystemSeed()Default constructor; no instance state to initialise.
-
-
Method Details
-
getSeed
Returnslbytes from the seed table, starting at offset 0.- Parameters:
l- number of bytes to return- Returns:
- the requested bytes
-
getSeed
Returnslbytes from the seed table, starting at the given offset.- Parameters:
offset- starting offset (wrapped modulo the seed table length)l- number of bytes to return- Returns:
- the requested bytes
-