finalized the one-time pad