Function ssb_validate::utils::node_buffer_binary_serializer[][src]

pub fn node_buffer_binary_serializer(text: &str) -> Vec<u8>

FML, scuttlebutt is miserable.

This is what node’s Buffer.new(messageString, 'binary') does. Who knew? So, surprise, but the way ssb encodes messages for signing vs the way it encodes them for hashing is different.