@jamilservices/sb-module-crypto-front
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

SimplyBuilderCrypto FrontEnd Version

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.

SimplyBuilder SimplyBuilder SimplyBuilder - sb-module-crypto GitHub License

🤖 Documented by Artificial Intelligence

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. 🌟

Features

  • 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.

Installation

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.

ESM Import Module

CDN

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>

FrontEnd projects with npm

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;

Live Demo

Related Projects

For backend projects, consider using the Backend version.

Modules in Rust

  • [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

Contribution Guidelines

If you're interested in contributing to @jamilservices/sb-module-crypto-front, please see the contribution guidelines.

License

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.

Package Sidebar

Install

npm i @jamilservices/sb-module-crypto-front

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

111 kB

Total Files

9

Last publish

Collaborators

  • juliojamil