It will be more informative to specify what kind of key is generated here, is it ECB? RSA? what exactly is it?