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

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • 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.