JSPM

  • Created
  • Published
  • Downloads 367
  • Score
    100M100P100Q95782F
  • License MIT

The Stacks framework security.

Package Exports

  • @stacksjs/security
  • @stacksjs/security/crypt.d.ts
  • @stacksjs/security/crypt.ts
  • @stacksjs/security/hash.d.ts
  • @stacksjs/security/hash.ts
  • @stacksjs/security/index.d.ts
  • @stacksjs/security/index.js
  • @stacksjs/security/index.ts
  • @stacksjs/security/key.d.ts
  • @stacksjs/security/key.ts

Readme

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

bun install -d @stacksjs/security

Now, you can easily access it in your project:

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.

🧪 Testing

bun test

📈 Changelog

Please see our releases page for more information on what has changed recently.

🚜 Contributing

Please review the Contributing Guide for details.

🏝 Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Stacks Discord Server

🙏🏼 Credits

Many thanks to the following core technologies & people who have contributed to this package:

📄 License

The MIT License (MIT). Please see LICENSE for more information.

Made with 💙