mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-05-19 08:10:30 +00:00
6a34ff2728
ECB is safe in this context because it's encrypting one-time messages using a one-time key. All input data going through encryptAes() is either random or partially random and passed through a secure hashing function (SHA-256 on modern GFE versions). Message authentication is not a concern either, because it is performed by the pairing process itself via RSA signature verification. Any ciphertext tampering would cause signature verification to fail later in the pairing process.