@stacksjs/security
Version:
The Stacks framework security.
67 lines (40 loc) โข 1.71 kB
Markdown
# Stacks Path
Easily work with encryptions, decryptions, and hashing.
## โ๏ธ Features
- Base64 support
- Bcrypt support
- Argon support
- Implements the Advanced Encryption Standard (AES)
- Written in modern ESM/TypeScript
## ๐ค Usage
```bash
bun install -d @stacksjs/security
```
Now, you can easily access it in your project:
```js
import { base64Encode, base64Verify, bcryptEncode, bcryptVerify, decrypt, encrypt, makeHash, md5Encode, verifyHash } from '@stacksjs/security'
// and more...
```
To view the full documentation, please visit [https://stacksjs.org/security](https://stacksjs.org/security).
## ๐งช Testing
```bash
bun test
```
## ๐ Changelog
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
## ๐ Contributing
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
## ๐ Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
[Discussions on GitHub](https://github.com/stacksjs/stacks/discussions)
For casual chit-chat with others using this package:
[Join the Stacks Discord Server](https://discord.gg/stacksjs)
## ๐๐ผ Credits
Many thanks to the following core technologies & people who have contributed to this package:
- [crypto-js](https://github.com/brix/crypto-js)
- [js-base64](https://www.npmjs.com/package/js-base64)
- [Chris Breuer](https://github.com/chrisbbreuer)
- [All Contributors](../../contributors)
## ๐ License
The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
Made with ๐