buaazp: Use new function to generate key.