Added random key generation for OneTimePad encryption