Atton Posted January 22, 2015 Share Posted January 22, 2015 https://github.com/ebakan/AES Rijndael is used for encrypting top secret data and the code is above. Link to comment
ixjf Posted January 22, 2015 Share Posted January 22, 2015 I don't see where this algorithm would ever be more useful than the ones already implemented. Either way, one could easily make a module or even use an existing implementation of AES in Lua for whatever needs. Link to comment
Atton Posted January 23, 2015 Author Share Posted January 23, 2015 I don't see where this algorithm would ever be more useful than the ones already implemented. Either way, one could easily make a module or even use an existing implementation of AES in Lua for whatever needs. Aes runs about 100x faster in CPP Link to comment
ixjf Posted January 23, 2015 Share Posted January 23, 2015 It obviously is, but that doesn't answer my question - where would this algorithm be useful in MTA? Link to comment
Atton Posted January 23, 2015 Author Share Posted January 23, 2015 It obviously is, but that doesn't answer my question - where would this algorithm be useful in MTA? For things like login tokens and data. Link to comment
ixjf Posted January 23, 2015 Share Posted January 23, 2015 What's the problem with all the hashing and encryption algorithms supported by MTA? Surely no data from a game mode would be considered "top secret". Link to comment
Callum Posted February 17, 2015 Share Posted February 17, 2015 MTA supports SHA256 (part of SHA2), which is also created by the National Security Agency. The only reason SHA256 isn't used to store classified information is because it's a one-way hash function, whereas AES is a cryptosystem. Doesn't mean it's any less secure. Link to comment
Anubhav Posted February 18, 2015 Share Posted February 18, 2015 Hash and encrypting have a lot of differences. MTA uses SHA256 as stated by Callum. SHA256 is a hash and AES is encryption. AES can be decrypted but not SHA256. SHA256 must be brute forced. In MTA password system, there's a salt encryption also. Jusonex posted that somewhere. Link to comment
Atton Posted February 18, 2015 Author Share Posted February 18, 2015 Hash and encrypting have a lot of differences.MTA uses SHA256 as stated by Callum. SHA256 is a hash and AES is encryption. AES can be decrypted but not SHA256. SHA256 must be brute forced. In MTA password system, there's a salt encryption also. Jusonex posted that somewhere. Hashing is a summary not an act of scrambling. Link to comment
Recommended Posts