Add methods to generate random keys & nonces