Minor bugfix to OneTimePad key generation