Skip to content

Instantly share code, notes, and snippets.

View RamounX6's full-sized avatar

Ramoun RamounX6

View GitHub Profile
@RamounX6
RamounX6 / RSA_example.py
Created December 30, 2019 23:40 — forked from syedrakib/RSA_example.py
An example of asymmetric encryption in python using a public/private keypair - utilizes RSA from PyCrypto library
# Inspired from http://coding4streetcred.com/blog/post/Asymmetric-Encryption-Revisited-(in-PyCrypto)
# PyCrypto docs available at https://www.dlitz.net/software/pycrypto/api/2.6/
from Crypto import Random
from Crypto.PublicKey import RSA
import base64
def generate_keys():
# RSA modulus length must be a multiple of 256 and >= 1024
modulus_length = 256*4 # use larger value in production
@RamounX6
RamounX6 / SplashScreen.txt
Created April 11, 2017 10:13 — forked from EudyContreras/SplashScreen.txt
JavaFX Game Splash Screen
/*
* JavaFX Splash Screen utility
*
* The author of this software "Eudy Contreras" grants you ("Licensee")
* a non-exclusive, royalty free, license to use,modify and redistribute this
* software in source and binary code form.
*
* Please be aware that this software is simply part of a personal test
* and may in fact be unstable. The software in its current state is not
* considered a finished product and has plenty of room for improvement and
@RamounX6
RamounX6 / SaveAndLoadUtility .txt
Created April 11, 2017 10:13 — forked from EudyContreras/SaveAndLoadUtility .txt
JavaFX Game Saving and Loading Utility
/*
* JavaFX Game Save and Load utility
*
* The author of this software "Eudy Contreras" grants you ("Licensee")
* a non-exclusive, royalty free, license to use,modify and redistribute this
* software in source and binary code form.
*
* Please be aware that this software is simply part of a personal test
* and may in fact be unstable. The software in its current state is not