Use FortunaGenerator to implement PseudoRandom.

This commit is contained in:
akwizgran
2015-01-14 20:46:03 +00:00
parent 1c7432cac4
commit 7fbad8dc26
9 changed files with 63 additions and 92 deletions

View File

@@ -83,7 +83,7 @@ class H2Database extends JdbcDatabase {
@Override
protected Connection createConnection() throws SQLException {
byte[] key = config.getEncryptionKey();
byte[] key = config.getEncryptionKey().getBytes();
if(key == null) throw new IllegalStateException();
Properties props = new Properties();
props.setProperty("user", "user");