@kitmi/feat-cipher
v2.1.0
Published
Cipher & hash related utilities
Downloads
22
Readme
@kitmi/feat-cipher
Jacaranda Framework AI Features
@kitmi/feat-cipher
Features
- cipher
Installation
To install @kitmi/feat-cipher
, run the following command:
bun add @kitmi/feat-cipher
Or if you're using npm:
npm install @kitmi/feat-cipher
Usage
- Export the feature in the app module
import cipher from '@kitmi/feat-cipher';
export default {
cipher
};
- Add the feature into config
cipher:
key: '' # optional
hashAlgorithm: '' # optional
# ...
- Use anywhere
const cipher = app.getService('cipher');
cipher.hash();
License
- MIT
- Copyright (c) 2023 KITMI PTY LTD