implement seed
This commit is contained in:
@@ -5,6 +5,10 @@ import com.infendro.hash.HashFunction
|
||||
import kotlin.random.Random
|
||||
|
||||
abstract class PRNG : Random() {
|
||||
abstract fun seed(
|
||||
seed: ByteArray,
|
||||
)
|
||||
|
||||
abstract fun reseed(
|
||||
entropy: ByteArray,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user