git ssb


Dominic / test-secret-handshake

Tree: 88debb7e29dd405502c7888da724020a8d757451

Files: 88debb7e29dd405502c7888da724020a8d757451 /

714 bytesRaw


Test vectors secret-handshake.

These test vectors are generated from the basic test suite from the refrence implementation. This does not cover the logic of the protocol, but makes it easy to verify that the packets are all parsed correctly.


The output is a JSON array, of objects with {name, args, result}
all binary values are stored as base64 encoded strings. name is the name of an operation. create operations take a state argument and return a packet. verify operations take a state, an encrypted packet and return a new state
(or null, if the packet was not valid given the state)



Built with git-ssb-web