Forgot to update some constants to reflect the new crypto primitives.

This commit is contained in:
akwizgran
2015-01-14 16:38:15 +00:00
parent 73d4f39726
commit 920c81199e
2 changed files with 7 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
package org.briarproject.api.invitation;
public interface InvitationConstants {
long CONNECTION_TIMEOUT = 30 * 1000; // Milliseconds
@@ -7,8 +8,4 @@ public interface InvitationConstants {
long CONFIRMATION_TIMEOUT = 60 * 1000; // Milliseconds
int CODE_BITS = 19; // Codes must fit into six decimal digits
int HASH_LENGTH = 48; // Bytes
int MAX_PUBLIC_KEY_LENGTH = 97; // Bytes
}