Encoding utils
Generates a random vector using provided length.
length
Wrapper for raw bincode::serialise.