mam revamp:
Created by: paulhandy
- structure change
- encryption update
- authenticated cipher
new structure: ['pascal' encoded length] [[next channel] [message]] [auth nonce] [signature] ['pascal' encoded sibling count] [siblings]
message key: H([shared secret], [root + index]) message id: H(H(message key))
call 'create', post mam payload to address computed by 'message id' to a bundle on the tangle.
fetch by 'message id', call 'parse' to get the message and the root of the following channel.