envelope-spec
Version:
specification for envelope encryption
17 lines • 778 B
JSON
{
"type": "slot",
"description": "derive a key_slot for a specific recipient (note feed_id + prev_msg_id are for the feed this message is part of, not the recipient. Note feed_id prev_msg_id are TFK encoded buffers. Recipient is a shared key you and some others have access to, you are sending \"to\" that.",
"input": {
"feed_id": "AAAHLRsWrLESb6mIKbRHcdm852/0qNYq2BFFcjWRfQ0OEw==",
"prev_msg_id": "AQBwTpLagCT9AA1nI/WhxSTmYDqmNpx/WF/r+2t8gZxBbA==",
"msg_key": "zp/EpTlUqzLlSnrXMiAllEUlwxgfnZVv9TeoKDWXM+0=",
"recipient": {
"key": "+Hi2NhW+3gHCUz55GFIu7zVMg9x5WjSZoKhPukob2RE=",
"scheme": "symmetic-group-shared-key-for-example"
}
},
"output": {
"key_slot": "mUrryRwKhEEo4mFx9NTEUKNezIJ4pUUfoDRHiljyUOQ="
},
"error_code": null
}