Giter Club home page Giter Club logo

cripter's Introduction

cripter

Encryption functions for Godot Engine.

Instructions:

Download or clone the repository to your computer. Copy the cripter folder into the Godot module folder and compile. It's expected this module will be compiled in both Godot 4. It can detect Godot's version and will do the job. It is expected that this module can be compiled on all platforms that Godot supports.

This module offers encryption using the algorithms: GCM, CBC and RSA. The RSA algorithm is the only one that needs a key pair. The example projects has a pair of keys that you can use in your tests. DO NOT use the keys in this demo for your project. This is unsafe. Generate your own keys.

GODOT 3:

If you are using Godot 3, please use the branch master.

To generate an RSA key pair on linux use this commands lines:

Generate the private key:

openssl genrsa -traditional -out rsa_private_key.pem -aes256 4096

Generate the public key:

openssl rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem

Usage:

You don't need instance hte module. All methods are static. There is a demo project on the folder.

Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cripter's People

Contributors

malkverbena avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cripter's Issues

error scons Two environments

I've got always same error when running scons.
Tested with godot.4.4 and godot3.5

`scons -j4 platform=x11 use_llvm=yes linker=lld tools=yes bits=64 target=release_debug;
scons: Reading SConscript files ...
Using linker program: lld

scons: *** Two environments with different actions were specified for the same target: /p1/godot-3.5-stable/thirdparty/mbedtls/library/error.x11.opt.tools.64.llvm.o
(action 1: clang -o error.x11.opt.tools.64.llvm.o -c -std=gnu11 -w -g2 -O2 -pipe -fpie -Wall -Wno-ordered-compare-function-pointers -w -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DTOUCH_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DPULSEAUDIO_ENABLED -D_REENTRANT -DJOYDEV_ENABLED -DUDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES_ENABLED -D_FILE_OFFSET_BITS=64 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -DMBEDTLS_CONFIG_FILE="thirdparty/mbedtls/include/godot_module_mbedtls_config.h" error.c)
(action 2: clang -o error.x11.opt.tools.64.llvm.o -c -std=gnu11 -w -g2 -O2 -pipe -fpie -Wall -Wno-ordered-compare-function-pointers -w -DDEBUG_ENABLED -DNO_EDITOR_SPLASH -DTOUCH_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DPULSEAUDIO_ENABLED -D_REENTRANT -DJOYDEV_ENABLED -DUDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DOPENGL_ENABLED -DGLES_ENABLED -D_FILE_OFFSET_BITS=64 -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL error.c)
File "/p1/godot-3.5-stable/methods.py", line 36, in add_source_files`

Parser Error: The identifier "cripter" isn't declared in the current scope.

Hello,

I want to know how I should install this module. Indeed, I copied the folder cripter in my module folder, then I try to do var Cripte = cripter.new() in the method _ready() of a scene, and it causes me an error Parser Error: The identifier "cripter" isn't declared in the current scope.

Cordially,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.