Files
Shade/test-vectors/group.json

29 lines
1.4 KiB
JSON
Raw Normal View History

{
"version": 2,
"vectors": [
{
"description": "Sender header AAD: u16_be(gLen) || g || u16_be(sLen) || s || u32_be(iter)",
"groupId": "group:42",
"senderAddress": "alice@example.com",
"iteration": 5,
"aad": "000867726f75703a34320011616c696365406578616d706c652e636f6d00000005"
},
{
"description": "Sender-key step: kdfChainKey + deterministic AES-GCM + Ed25519 sign(aad || ct)",
"chainKey": "9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b9b",
"groupId": "group:42",
"senderAddress": "alice@example.com",
"iteration": 5,
"plaintext": "68656c6c6f2067726f7570",
"nonce": "7d7d7d7d7d7d7d7d7d7d7d7d",
"signingPrivateKey": "9d61b19deffd5a60ba844af492ec2cc44449c5697b326919703bac031cae7f60",
"signingPublicKey": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a",
"newChainKey": "2c0682d93e1a4a746afc72507774ce592f9730e64435e8503fb8dff9f0372e11",
"messageKey": "dc53b8b0848902f22d548e84a7daf779ff3695f42ee6caa8c4ebac4d70907354",
"aad": "000867726f75703a34320011616c696365406578616d706c652e636f6d00000005",
"ciphertext": "415321ea34c712b032779852d8d834b9bd4d7bf7e982514f73031f",
"signature": "05a860496422e5267818a773e8ba74eac75e3ed0120f4fe2662b782888a74ceadcc57d77a68b7870ca5ad9cf66822e46598b527fc6428d4db11014adff18630a"
}
]
}