node_buffer_binary_serializer

Function node_buffer_binary_serializer 

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

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.