SimplyBuilderCrypto provides a suite of cryptographic utilities designed for frontend development, offering a range of functionalities including various hash algorithms, UUID generation, random bytes generation and others.
This project takes a leap into the future of code documentation and maintenance. 🚀
All text commits and JSDoc comments were created automatically by the advanced AI of ChatGPT, showcasing a seamless integration between human creativity and artificial intelligence.
By leveraging ChatGPT's capabilities, we've ensured that the documentation is not only comprehensive but also up-to-date with the latest standards. This collaboration marks a step forward in our pursuit of innovative solutions, making our codebase more accessible and easier to understand for developers worldwide.
Embrace the future of coding with us. 🌟
- Hashing: Supports string conversion to hashes using MD5, SHA-256, and SHA-512 algorithms.
- UUID v4: Enables the random generation of UUIDs using version 4.
- Random Bytes: Allows the random generation of bytes with customizable length, with a minimum and default value of 32 bytes.
This module can be directly included in your project. It supports both direct reference in HTML or importation in JavaScript, depending on your project setup and module system.
You can use the following CDN links to include the module:
<!-- Using jsDelivr -->
<script type="module">
import SimplyBuilderCrypto from 'https://cdn.jsdelivr.net/npm/@jamilservices/sb-module-crypto-front/index.min.js';
const {hashMD5, hash256, hash512, base64Encode, base64Decode, randomUUIDV4, randomBytes} = SimplyBuilderCrypto;
</script>
<!-- Using unpkg -->
<script type="module">
import SimplyBuilderCrypto from 'https://unpkg.com/@jamilservices/sb-module-crypto-front@1.0.1/index.js';
const {hashMD5, hash256, hash512, base64Encode, base64Decode, randomUUIDV4, randomBytes} = SimplyBuilderCrypto;
</script>
For projects using npm, you can install the module via npm:
npm install @jamilservices/sb-module-crypto-front
Then, import it in your project:
import SimplyBuilderCrypto from '@jamilservices/sb-module-crypto-front';
const {hashMD5, hash256, hash512, base64Encode, base64Decode, randomUUIDV4, randomBytes} = SimplyBuilderCrypto;
For backend projects, consider using the Backend version.
- [x]
hash md5 - [x]
hash sha256 - [x]
hash sha512 - [x]
encode base64 - [x]
decode base64 - [x]
random bytes - [x]
random uuid v4 - [ ] signs
- [ ] keys
- [ ] box create
- [ ] box open
- [ ] box secret
If you're interested in contributing to @jamilservices/sb-module-crypto-front
, please see the contribution guidelines.
SimplyBuilderCrypto
is released under the MIT License by @jamilservicos.
- You are free to modify and reuse the code.
- The original license must be included with copies of this software.
- Please link back to this repository if you use a significant portion of the source code.