Function blobber::get_seeded_rng_blob [] [src]

pub fn get_seeded_rng_blob(bytes: usize, seed: u8) -> Vec<u8>

This function returns a Vec<u8> generated with a very simple PRNG seeded with the provided seed param. This is useful for genrating a repeatable blob (the same seed will always provide the same sequence) if you don't want to provide a template slice.