View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007142 | Multi Theft Auto : San Andreas | Scripting | public | 2012-06-29 14:38 | 2014-04-09 18:36 |
Reporter | robhol | Assigned To | ryden | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | 1.3.5 | Fixed in Version | 1.3.5 | ||
Summary | 0007142: Provide simple encryption functions? | ||||
Description | Currently, there is no decent way to encrypt and decrypt stuff - we don't have access to third party libraries (which is probably a good idea) - and implementing an algorithm in Lua is both extremely slow and somewhat infeasible due to the lack of bitwise operations etc. Since we've had access to MD5 and SHA1 for a long time, how about some AES or something similar? Finding a decent implementation is almost impossible in Lua, but should be a walk in the park for C++. | ||||
Tags | No tags attached. | ||||
|
Yes, consider it slow. |
|
Not bad, but a C++ implementation of AES or something would be even not-badder. :) Would be faster though, and probably not a lot of work. |
|
I'd approve of AES since its open-source. |
|
http://code.google.com/p/mtasa-blue/source/detail?r=4882 Which got added to 1.3.5: |