mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Key derivation function based on NIST SP 800-108.
This commit is contained in:
@@ -123,9 +123,9 @@ public class H2DatabaseTest extends TestCase {
|
||||
remoteTransports = Collections.singletonList(remoteTransport);
|
||||
subscriptions = Collections.singletonMap(group, 0L);
|
||||
Random r = new Random();
|
||||
inSecret = new byte[123];
|
||||
inSecret = new byte[32];
|
||||
r.nextBytes(inSecret);
|
||||
outSecret = new byte[123];
|
||||
outSecret = new byte[32];
|
||||
r.nextBytes(outSecret);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user