Hongye Rudi Zhang Posted April 20, 2021 at 02:18 PM Posted April 20, 2021 at 02:18 PM Your hash value can be generated using the following details: 1. Personal information serialization: join your CID and VATSIM-registered email address with a comma (,) e.g. 1234567,[email protected] 2. Hash algorithm used: HMAC+SHA256 3. Key for HMAC: WFSS_VATPRC_2021_04_17_1200_1600_Yo9Qd If you wish to generate the hash value by yourself, you may use the Python 3 code below, with your correct serialized information. Quote import hmac import hashlib message = '1234567,[email protected]' SALT = 'WFSS_VATPRC_2021_04_17_1200_1600_Yo9Qd' hash_value = hmac.new(bytes(SALT, 'utf-8'), msg=bytes(message, 'utf-8'), digestmod=hashlib.sha256).hexdigest().lower() print(hash_value) Or you may use the JavaScript code below, with your correct serialized information. Quote const message = '1234567,[email protected]'; const SALT = 'WFSS_VATPRC_2021_04_17_1200_1600_Yo9Qd'; const hashValue = require('crypto') .createHmac('sha256', SALT) .update(message) .digest('hex'); console.log(hashValue); The obtained hash_value/hashValue is your hash value. (UNENCOURAGED) Or you can use any of the following third-party websites or other websites that support the calculation of HMAC+SHA256 to verify your and hash value with your personal information.Note: For the sake of personal privacy protection, we strongly recommend that you use the code above to verify by yourself instead of using any third party website. https://www.freeformatter.com/hmac-generator.html https://www.devglan.com/online-tools/hmac-sha256-online https://www.liavaag.org/English/SHA-Generator/HMAC/ If you win, congratulations! Link to comment Share on other sites More sharing options...
Recommended Posts