DevsDaddy

DevsDaddy 

Unity game developer with 10+ years of experience

2subscribers

26posts

goals3
0 of 100 paid subscribers
Let's develop a strong developer community with quality code, and in my time I will continue to share Open-Source and Premium libraries.
1 of 3

[New Unity Asset] Cryptography and Encryption in Unity with CryptoLibrary

Hi, everybody! My name is Elijah. I've been developing games for the last 10+ years. During this time I have accumulated a lot of different developments that I would like to start sharing, from programming libraries to assets that you can build commercial games around.
This time I'd like to share my thoughts on securing your games, specifically cryptography and hashing. My small Open-Source library - Crypto Library - will help you in this.
About Cryptography
Cryptography allows you to encrypt a lot of data both one-way and two-way to protect your data. In games, this could be a save file, or requests sent to/from your web server.
There are hundreds of types of cryptography currently available, but I have focused on the most modern and popular (and will be adding more modern ones to the library as time goes on).
CryptoLibrary Modules
- Encryption and Decryption: AES, Triple DES, BlowFish, Twofish, RSA, DES, Base64, XOR;
- Hashing: SHA, PBKDF2, MD5, xxHash, RIPEMD-160, CRC32;
How to secure your game with CryptoLibrary?
So, you can encrypt/decrypt your save files and/or webrequests in your games. And how?
Encrypt Any Text:
string encryptedText = CryptoController.Encrypt("MyTextToEncrypt");
Decrypt Any Text:
string decryptedText = CryptoController.Decrypt(encryptedText);
Full Documentation can be found here.
Download Free Latest Package (March 2024):
unity_crypto.unitypackage262.50 Kb
Subscription levels4

Little Supporter

$1.33 per month
Small doesn't mean it's not important. Every penny helps me create more content for you to create your games with and learn from, becoming a professional at what you do.
What does the entry level provide?
- My many thanks for your support;
- Prioritize support on assets and code;
- Closed chat in Discord (subscriber level);
+ chat

Timekeeper

$13.5 per month
Thank you for helping me save my time - because you realize that time is money. And more money means more free time for community development.
What does the entry level provide?
- My many thanks for your support;
- Prioritize support on assets and code;
- Priority for Tutorials creation requests (video and text);
- Closed chat in Discord (subscriber level);
- Professional mentoring for you (1 hour per week);
+ chat

Rich Daddy

$68 per month
Yes, you are indeed a rich dad, which helps me, a father of two children - to find more time to educate large numbers of people.
What does the entry level provide?
- My many thanks for your support;
- Personal licensing for any asset or code with premium support;
- Premium Tutorials and Assets with your requests;
- Closed chat in Discord (vip-level);
- Professional mentoring for you (3 hour per week);
+ chat

The Lord of Development

$121 per month
Yes, you are a true lord of game development. You can always help the community, and the community will help and support you in due time.
What does the entry level provide?
- My many thanks for your support;
- Personal licensing for any asset or code with premium support;
- Request for any asset/library for you with personal license;
- Premium Tutorials and Assets with your requests;
- Closed chat in Discord (vip-level);
- Professional mentoring for you (6 hour per week);
+ chat
Go up