rand: Better attribution in the source code.

Moving doxygen comment to the header file had the effect of removing
attribution from the source code...

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>