{"library":"mysql-aes","type":"library","category":null,"description":"Provides Node.js implementations of MySQL's AES_ENCRYPT and AES_DECRYPT functions, enabling encryption and decryption compatible with MySQL's block cipher mode. Version 0.1.0, last updated in 2016, is the only stable release. It is a lightweight library with no external dependencies, supporting ESM and CommonJS. Key differentiator: it mirrors MySQL's AES behavior exactly, using AES-128-ECB with PKCS7 padding and a specific key derivation, making it suitable for applications that need to encrypt/decrypt data consistently with MySQL. However, it is unmaintained and uses a weak cipher mode (ECB) that should not be used for new projects; use a more secure alternative.","language":"javascript","status":"deprecated","version":"0.1.0","tags":["javascript","mysql","crypto","aes","aes_encrypt","aes_decrypt","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-aes","imports":["import AES from 'mysql-aes'","import AES from 'mysql-aes'; AES.encrypt(str, key)","import AES from 'mysql-aes'; AES.decrypt(encrypted, key)"]},{"cmd":"yarn add mysql-aes","imports":[]},{"cmd":"pnpm add mysql-aes","imports":[]}],"homepage":"https://github.com/magicdawn/node-mysql-aes#readme","github":"ssh://git@github.com/magicdawn/node-mysql-aes","docs":null,"changelog":null,"pypi":null,"npm":"mysql-aes","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}