Random one-time-pad generator for c