gdscript: AES CBC Decryption

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By moojo
:warning: Old Version Published before Godot 3 was released.

I’m trying to look for examples but no luck so far.

In java we have the following classes to do decryption.
From the Package javax.crypto.

DESedeKeySpec
SecretKeyFactory
Cipher

Anything similar for GDScript?

:bust_in_silhouette: Reply From: Catprog

Not currently.

But their is a pull request here

OK so I just have to wait for this to be merged and most likely I can see this in the next release? Thats great thank you so much!

moojo | 2016-12-23 09:41

This is off topic but I see there are these files you added in the pull request:
modules/crypto/SCsub
modules/crypto/config.py
modules/crypto/crypto.cpp
modules/crypto/crypto.h
modules/crypto/register_types.cpp
modules/crypto/register_types.h

how do I add these these files myself so I can try it out? Any recommended readings for trying this?
I’m guessing I have to build Godot myself? I’ve never try this before any advice is appreciated.

moojo | 2016-12-23 10:00

first try to compile it yourself following Compiling for Windows — Godot Engine (stable) documentation in English

Then copy my files into the directory and try to compile it again.

If you need help ask with the module. Feel free to contact me again.
(It will be a good test to see if how good my documentation is.)

Catprog | 2016-12-23 10:33