diff options
author | Victor Shyba <victor1984@riseup.net> | 2016-11-26 01:11:28 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-12 09:17:51 -0200 |
commit | e65cb7bfecd530252e86878dfec117c2793aa04b (patch) | |
tree | e195dc01c040fc0a33c011ee09aee02041459398 /scripts | |
parent | 1c8e3359734831562fca76b529c0b1f95af565d5 (diff) |
[feature] delimit preamble from ciphertext
We now encode preamble and ciphertext+hmac in two distinct payloads
separated by a space. This allows metadata to be extracted and used
before decoding the whole document.
It also introduces a single packer for packing and unpacking of data
instead of reads and writes. Downside: doc_id and rev are limited to 255
chars now.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions