simple_aes_cbc

A simple wrapper for WebCrypto which uses the AES-CBC algorithm

MIT License

Downloads
373
Stars
3
Committers
1

Bot releases are hidden (Show)

simple_aes_cbc - 3.1.1 Latest Release

Published by CarlRosell 10 months ago

validates private_key and iv length.

Full Changelog: https://github.com/CarlRosell/simple_aes_cbc/compare/3.1.0...3.1.1

simple_aes_cbc - 3.1.0

Published by CarlRosell 10 months ago

simple_aes_cbc - 3.0.0

Published by CarlRosell about 1 year ago

Breaking Changes:

To make the usage easier encryptString and decryptString methods no longer perform the base64 encoding/decoding to have a better interface.
Introducing encryptStringToBase64 and decryptStringFromBase64 The new methods perform base64 encoding and decoding respectively.

If you were using the old methods and relied on the output format, you will need to update your code to use the new methods and handle the base64 format accordingly.

Full Changelog: https://github.com/CarlRosell/simple_aes_cbc/compare/2.0.1...3.0.0

simple_aes_cbc - 2.0.1

Published by CarlRosell about 1 year ago

Add explicit return types and jsdoc for documentation

Full Changelog: https://github.com/CarlRosell/simple_aes_cbc/compare/2.0.0...2.0.1

simple_aes_cbc - 2.0.0

Published by CarlRosell about 1 year ago

Change: The constructor for SimpleAesCbc now takes a SubtleCrypto object as a second argument in order to work in any runtime.

Reasoning: Previously, SimpleAesCbc relied on the global crypto object to be available in order to perform cryptographic operations. However, this object is not always available in all runtimes, such as Node. By allowing the SubtleCrypto object to be passed in as a second argument, SimpleAesCbc can now be used in any runtime that supports the Web Crypto API.

Full Changelog: https://github.com/CarlRosell/simple_aes_cbc/compare/1.0.0...2.0.0

simple_aes_cbc - 1.0.0

Published by CarlRosell about 1 year ago