@schiesbn You really should not prevent a caller from getting two independent keys for whatever reason just because you see no use case for it. There is absolutely no point in doing this. If your use-case only needs one key, this is fine, you can cache the key in a variable or in an object property. This is security/crypto code, please do not write bad code on purpose.