xstream
xstream copied to clipboard
Public key encryption system combining X25519 ephemeral Diffie-Hellman key exchange and STREAM-based symmetric cryptography
The test vectors presently use the following ciphersuite strings: * **XSTREAM_X25519_HKDF_SHA256_AES128_SIV** * Key Agreement: X25519 * KDF: HMAC-SHA-256 * Symmetric Cipher: AES-128-SIV * **XSTREAM_X25519_HKDF_SHA256_AES128_PMAC_SIV** * Key Agreement: X25519 * KDF:...
The key derivation used by XSTREAM is inspired by the NaCl `crypto_box()` function, which does the following (for "curve25519xsalsa20poly1305"): * `sk`: private scalar * `pk`: X25519 public key (i.e. Montgomery-u...
**XSTREAM** constructions providing security levels higher than 128-bit are not presently specified. It would be possible using the X448 elliptic curve (i.e. the Montgomery form of [Ed448-Goldilocks](https://eprint.iacr.org/2015/625.pdf)) for key agreement...