One-time-pad implementation