Module ssb_validate::utils[][src]

Helper functions used during validation computations.

Functions

is_canonical_base64

Check that the given string represents canonical base64.

is_correct_length

Check that the length of the given message - when serialized as JSON - is less than 8192 UTF-16 code units.

is_correct_order

Check that the top-level fields (keys) comprising the given message value are in the correct order.

multihash_from_bytes

Generate a hash for a given message value.

node_buffer_binary_serializer

FML, scuttlebutt is miserable.