Crypto Module

CatprogCatprog Posts: 13Member
edited August 2016 in Programming
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)
Tagged:

Tags :

Comments

  • CatprogCatprog Posts: 13Member
  • vnenvnen Posts: 31Admin Godot Developer
    You know that Godot uses OpenSSL right? There is already an API to encrypt files.
  • CatprogCatprog Posts: 13Member
    on 1467647412:
    <br />You know that Godot uses OpenSSL right? There is already an API to encrypt files.<br />
    <br /><br />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.
  • vnenvnen Posts: 31Admin Godot Developer
    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.
Sign In or Register to comment.