mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
17 lines
309 B
Java
17 lines
309 B
Java
package org.briarproject;
|
|
|
|
import org.briarproject.api.system.SeedProvider;
|
|
|
|
import java.util.Random;
|
|
|
|
public class TestSeedProvider implements SeedProvider {
|
|
|
|
private final Random random = new Random();
|
|
|
|
public byte[] getSeed() {
|
|
byte[] seed = new byte[32];
|
|
random.nextBytes(seed);
|
|
return seed;
|
|
}
|
|
}
|