Merge branch 'use-xsalsa20-poly1305' into 'master'

Use XSalsa20-Poly1305 instead of AES-GCM for transport encryption and password storage.

This patch integrates @str4d's new authenticated cipher implementation. It depends on !18.

See merge request !35
This commit is contained in:
akwizgran
2015-12-28 18:07:20 +00:00
8 changed files with 64 additions and 115 deletions

View File

@@ -19,7 +19,7 @@ public interface TransportConstants {
+ MAC_LENGTH;
/** The length of the frame initalisation vector (IV) in bytes. */
int FRAME_IV_LENGTH = 12;
int FRAME_IV_LENGTH = 24;
/** The length of the frame header in bytes. */
int FRAME_HEADER_LENGTH = 4 + MAC_LENGTH;