Call theKey.newKey() instead of randomizing key manually