git ssb


0+

Dominic / test-secret-handshake



Commit 88debb7e29dd405502c7888da724020a8d757451

basic readme

Dominic Tarr committed on 3/15/2017, 12:02:30 AM
Parent: e5843d4afa2b0f0a85a132d8c1611188ac002ba7

Files changed

README.mdchanged
README.mdView
@@ -1,6 +1,19 @@
11 # test-secret-handshake
22
3+Test vectors [secret-handshake](https://github.com/auditdrivencrypto/secret-handshake).
34
5+These test vectors are generated from the basic test suite from the refrence implementation.
6+This does not cover the logic of the protocol, but makes it easy to verify that the packets
7+are all parsed correctly.
8+
9+## format
10+
11+The output is a JSON array, of objects with `{name, args, result}`
12+all binary values are stored as base64 encoded strings.
13+name is the name of an operation. _create_ operations take a `state` argument and return a packet.
14+_verify_ operations take a `state`, an encrypted `packet` and return a new `state`
15+(or null, if the packet was not valid given the state)
16+
417 ## License
518
619 MIT

Built with git-ssb-web