Catprog I have c++ code to make an encryption module<br /><br />main.cpp http://pastebin.com/xMTBvZev ; (for testing)<br />GodotCryptoModule.cpp http://pastebin.com/n4BBLeR8 (the actual code)<br /><br />The Hasher and Encrypter code are from https://github.com/B-Con/crypto-algorithms and probably will need to be replaced by more secure versions at some point.<br /><br />Would this be suitable for integration into the main codebase? (after work to actually integrate it of course)
Catprog [quote author=vnen link=topic=15651.msg16987#msg16987 date=1467647412]You know that Godot uses OpenSSL right? There is already an API to encrypt files.[/quote]I am aware of OpenSSL. I am not aware of the API. Also I am not looking to encrypt files. I am just looking for encrypting short text strings.
vnen I see, but since you can already encrypt files, you can look at the code to see how to encrypt any string. This might even make it to the engine core if you send a pull request.