Adjusted method again to try to get a reliable ID for the user/app for encryption in the example key generator.