RFC 5649 key wrapping with padding applied to Camellia cipher. Supports arbitrary-length plaintext by padding to 8-byte multiples and embedding length in AIV.
| Property | Value |
|---|---|
| Category | Special Algorithms |
| Sub-category | Key Wrapping |
| Security status | π‘οΈ Secure |
| Complexity | Intermediate |
| Inventor | NIST (RFC 5649 specification with Camellia cipher) |
| Year | 2009 |
| Origin | πΊπΈ United States |
| Source | algorithms/crypto/camelliawrappad.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 16 bytes (128 bits) to 32 bytes (256 bits) in steps of 8 bytes |
Status: π‘οΈ Secure
No vulnerabilities are recorded for this implementation.
2 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
466f7250617369 |
expected |
bdcc8e794701c12804891be045dd11cb |
| Field | Value |
|---|---|
key |
5840df6e29b02af1ab493b705bf16ea1ae8338f4dcc176a8 |
input |
c37b7e6492584340bed12207808941155068f738 |
expected |
6fe8e088d2042ea144139b1c7a46a63027226d16c01034c73b6333d4ab05884c |