mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Use FortunaGenerator to implement PseudoRandom.
This commit is contained in:
@@ -2,15 +2,17 @@ package org.briarproject.api.db;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import org.briarproject.api.crypto.SecretKey;
|
||||
|
||||
public interface DatabaseConfig {
|
||||
|
||||
boolean databaseExists();
|
||||
|
||||
File getDatabaseDirectory();
|
||||
|
||||
void setEncryptionKey(byte[] key);
|
||||
void setEncryptionKey(SecretKey key);
|
||||
|
||||
byte[] getEncryptionKey();
|
||||
SecretKey getEncryptionKey();
|
||||
|
||||
long getMaxSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user