mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Reorganised Guice modules. Contribute entropy to pool on Linux/Android.
This commit is contained in:
12
briar-api/src/org/briarproject/api/system/SeedProvider.java
Normal file
12
briar-api/src/org/briarproject/api/system/SeedProvider.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package org.briarproject.api.system;
|
||||
|
||||
/**
|
||||
* Uses a platform-specific source to provide a seed for a pseudo-random
|
||||
* number generator.
|
||||
*/
|
||||
public interface SeedProvider {
|
||||
|
||||
int SEED_BYTES = 32;
|
||||
|
||||
byte[] getSeed();
|
||||
}
|
||||
Reference in New Issue
Block a user