RFC 3657 key wrapping algorithm using Camellia cipher. Securely wraps cryptographic keys for transport using the RFC 3394 key wrap construction with Camellia.
| Property | Value |
|---|---|
| Category | Special Algorithms |
| Sub-category | Key Wrapping |
| Security status | 🛡️ Secure |
| Complexity | Intermediate |
| Inventor | RFC 3657 Authors, based on Camellia by NTT/Mitsubishi |
| Year | 2003 |
| Origin | Not specified |
| Source | algorithms/crypto/camelliawrap.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 16 bytes (128 bits); 24 bytes (192 bits); 32 bytes (256 bits) |
Status: 🛡️ Secure
No vulnerabilities are recorded for this implementation.
1 vector ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — Bouncy Castle Camellia-128 Wrap Test Vector
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
00112233445566778899aabbccddeeff |
expected |
635d6ac46eedebd3a7f4a06421a4cbd1746b24795ba2f708 |