7/WAKU-DATA: Simplify

This commit is contained in:
Oskar Thoren 2021-03-29 16:57:11 +08:00
parent afc24400ae
commit 8dfe59d22c
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 9 additions and 25 deletions

View File

@ -1,25 +1,15 @@
---
title: Envelope data field
version: 1.0.0
status: Stable
authors: Oskar Thorén <oskar@status.im>, Dean Eigenmann <dean@status.im>
redirect_from:
- /waku/envelope-data-format.html
slug: 7
title: 7/WAKU-DATA
title: Waku Envelope data field
status: stable
editor: Oskar Thorén <oskar@status.im>
contributors:
- Dean Eigenmann <dean@status.im>
- Kim De Mey <kimdemey@status.im>
---
## Table of Contents
1. [Abstract](#abstract)
2. [Specification](#specification)
1. [ABNF](#abnf)
2. [Signature](#signature)
3. [Padding](#padding)
3. [Changelog](#changelog)
4. [Copyright](#copyright)
## Abstract
This specification describes the encryption, decryption and signing of the content in the [data field used in Waku](waku.md#abnf-specification).
This specification describes the encryption, decryption and signing of the content in the [data field used in Waku](/spec/6/#abnf-specification).
## Specification
@ -69,12 +59,6 @@ Those unable to decrypt the envelope data are also unable to access the signatur
The padding field is used to align data size, since data size alone might reveal important metainformation. Padding can be arbitrary size. However, it is recommended that the size of Data Field (excluding the Salt) before encryption (i.e. plain text) SHOULD be factor of 256 bytes.
## Changelog
| Version | Comment |
| :--------------------------------------------------------------------------------------:| ---------------- |
| [1.0.0](https://github.com/vacp2p/specs/commit/bc7e75ebb2e45d2cbf6ab27352c113e666df37c8)| Initial release. |
## Copyright
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).