cryptosmith is a lightweight encryption package for running servers efficiently.
You can install cryptosmith via npm:
npm install cryptosmith
import Smith from 'cryptosmith';
const algorithm = 'aes-256-cbc';
const secret = 'your-secret-password';
const smith = new Smith(secret, algorithm);
const word = "Hello World !";
const lock = smith.lock(word);
const unlock = smith.unlock(lock);
Contributing Contributions are welcome! If you find any issues or would like to contribute to cryptosmith, please feel free to open an issue or submit a pull request on the GitHub repository.
License This project is licensed under the MIT License - see the LICENSE file for details.