Jump to content

1 Screenshot

About This File

slowAES

slowAES is an open-source library written in Lua that provides encryption and decryption capabilities based on the AES (Advanced Encryption Standard) algorithm.

Key Features

- Supports AES key sizes:

  - 128-bit (16 bytes)

  - 192-bit (24 bytes)

  - 256-bit (32 bytes)

- Supported encryption modes:

  - CBC (Cipher Block Chaining)

  - CFB (Cipher Feedback)

  - OFB (Output Feedback)

- Includes padding/unpadding mechanisms to ensure data compatibility with AES requirements.

- Operates independently without external library dependencies.

 

Usege

 

Import the library

local slowAES = require("aes")

 

Encryption

local plaintext = { /* Data to encrypt as a byte array */ }

local key = { /* Encryption key */ }

local iv = { /* Initialization Vector (IV) */ }

local mode = slowAES.modeOfOperation.CBC

 

local ciphertext = slowAES:encrypt(plaintext, mode, key, iv)

 

Decryption

local decrypted = slowAES:decrypt(ciphertext, mode, key, iv)

 


User Feedback

Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.