Add more explanation about the functions/arguments; add function 'gen_random_bytes'