VieGG Posted 14 hours ago Posted 14 hours ago View File SlowAES 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) Submitter VieGG Submitted 01/22/2025 Category Tools
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now