zhiyan114 / SynAES

Synapse formatted AES encryption on multiple langs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is SynAES?

SynAES is a library that is aim to help a new developers who are interested in using Synapse X's Crypto function to create a secure communication between the server and the client.

Languages that are written

  • LUA (Synapse X's environment) duh and Script-Ware
  • NodeJS
  • Python
  • PHP
  • C#
  • Java
  • C++

You may request for more via issues tab or create a poll request to add your versions to it. (Prefer it to be written in a constructor format rather than function returning table format unless the language doesn't support it)

AES Information

Key size should be 16, 24, or 32 characters long.

IV/Nonce should be 12 characters long.

Usage Information

All data will be handled in string format (this includes key, iv, and data). The GMAC will be a size of 128 bit which will concatenated at the end of the ciphertext.

When performing encryption, Your key, IV, and data will be taken in which then it will return a base64 version of ciphertext and gmac that concatenated together.

When performing decryption, Your key, IV, and base64 encrypted data will be taken in which then it will return the original data that was encrypted.

About

Synapse formatted AES encryption on multiple langs


Languages

Language:C++ 40.5%Language:JavaScript 12.6%Language:Python 8.8%Language:TypeScript 7.5%Language:Java 7.1%Language:Lua 6.9%Language:C# 6.8%Language:PHP 5.5%Language:CMake 4.2%