Releases: hugoalh/symmetric-crypto-es
Releases · hugoalh/symmetric-crypto-es
4.2.1
4.2.0
4.1.0
〰️ Changes
- Improve efficiency and performance (@hugoalh)(N/A)
- Migrate and deprecate class
SymmetricCryptor
methodsdecryptFiles
andencryptFiles
todecryptFile
andencryptFile
(@hugoalh)(N/A) - Replace NodeJS interfaces with Deno interfaces (@hugoalh)(N/A)
- Transfer ownership from hugoalh Studio (
hugoalh-studio
) to hugoalh (hugoalh
) (@hugoalh)(N/A) - Update dependencies (@hugoalh)(N/A)
4.0.1
4.0.0
🔦 Spotlights
- Support algorithms selection:
AES-CBC
(Default, Original),AES-CTR
,AES-GCM
(@hugoalh)(N/A) - Support custom decoder and encoder (@hugoalh)(N/A)
- Support deployments JSR, NPM (Original), and remote (@hugoalh)(N/A)
- Support directly decrypt and encrypt files (@hugoalh)(N/A)
- Support multiple layers decryption and encryption with different algorithm and passphrase (i.e.: key) (@hugoalh)(N/A)
- Support targets Bun, Cloudflare Workers, Deno, and NodeJS (Original) (@hugoalh)(N/A)
💥 Break Changes
- Change default decoder and encoder from Base64 to ASCII85 (@hugoalh)(N/A)
- Change the way to create instance, use function
createSymmetricCryptor
instead of classSymmetricCryptor
(@hugoalh)(N/A) - Multiple layers decryption and encryption require to define at the stage of create instance, and no longer available at the stage of decrypt or encrypt (@hugoalh)(N/A)
- Refactor and replace NodeJS Crypto APIs (
node:crypto
) with JavaScript Web Crypto APIs (crypto.subtle
) (@hugoalh)(N/A)⚠️ ImportantThis refactor cause it is not possible to compatible with any previous version, please make sure to decrypt everything firstly before upgrade to this version or next!
- Remove class
SymmetricCryptor
all of the static methods (@hugoalh)(N/A) - Remove class
SymmetricCryptor
constructor (@hugoalh)(N/A) - Remove class
SymmetricCryptor
methodsdecryptMultipleLine
,encryptMultipleLine
, and its aliases (@hugoalh)(N/A) - Remove functions
decrypt
,decryptMultipleLine
,encrypt
,encryptMultipleLine
, and its aliases (@hugoalh)(N/A)
〰️ Changes
- Add class
SymmetricCryptor
methodsdecryptFile
,decryptFiles
,encryptFile
, andencryptFiles
to directly decrypt and encrypt files (@hugoalh)(N/A) - Passphrase (i.e.: key) no longer have any restriction (@hugoalh)(N/A)
- Support data type of
string
(Original) andUint8Array
(@hugoalh)(N/A) - Support passphrase (i.e.: key) type of
string
(Original),ArrayBuffer
,DataView
,Uint8Array
,Uint16Array
,Uint32Array
, andBigUint64Array
(@hugoalh)(N/A)