Hawkynt

SPIX

Lightweight AEAD cipher using MonkeyDuplex construction with sLiSCP-light-256 permutation. Features 128-bit key/nonce/tag with 8-byte rate for efficient authenticated encryption.

Properties

Property Value
Category Authenticated Encryption
Sub-category Lightweight Cryptography
Security status ๐Ÿงช Experimental
Complexity Advanced
Inventor Tao Huang, Junjie Bi, Zhenzhen Bao, Jiale Guo
Year 2019
Origin ๐ŸŒ International
Source algorithms/aead/spix.js

Parameters

Parameter Supported values
Key sizes 16 bytes (128 bits)
Nonce sizes 16 bytes (128 bits)
Tag sizes 16 bytes (128 bits)

Capabilities

Flag Value
SupportsDetached No

Security

Status: ๐Ÿงช Experimental

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

4 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 โ€” SPIX: Empty message, empty AAD (Count 1)

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad (empty)
input (empty)
expected 74d5a923739b1f893c7c005df8349b62

Vector 2 โ€” SPIX: Empty message, 1-byte AAD (Count 2)

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad 00
input (empty)
expected 8206dfcb92d667f617328ebcc6a38ac9

Vector 3 โ€” SPIX: Empty message, 2-byte AAD (Count 3)

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad 0001
input (empty)
expected a012ddf1716623239f7813d122c7c42c

Vector 4 โ€” SPIX: 1-byte plaintext, empty AAD (Count 34)

Field Value
key 000102030405060708090a0b0c0d0e0f
nonce 000102030405060708090a0b0c0d0e0f
aad (empty)
input 00
expected 2a071d7de31a45dddad7d2b3086e41950f

โ† All algorithms