1.0.3 • Published 10 days ago
arlecchino-key-generator v1.0.3
arlecchino-key-generator
A Node.js module for generating unique keys with the Arlecchino touch.
Installation
npm install arlecchino-key-generator
Usage
JavaScript
const arle = require('arlecchino-key-generator');
// Generate a single key
console.log(arle.createHash());
// Generate multiple keys
console.log(arle.createManyHashes(100));
// Generate a custom key
console.log(arle.createCustomHash('Clorinde'));
Description
Arlecchino Key Generator is a Node.js module designed to produce unique keys with a touch of Arlecchino's charm. It utilizes cryptographic functions to generate a random UUID, shuffles its characters, inserts the phrase "Arlecchino" in the middle, and then encodes a random 7-character substring of the resulting key using Base64 encoding.
New Features
createHash()
Generates a unique key with "Arlecchino" characters.createManyHashes(count)
Generates the specified number of unique keys.createCustomHash(customString)
Generates a custom key with the specified string.
Why Use This Module?
Idk, I created this module in my free time from work, use it if you're a Genshin player and a simp of Arlecchino like me lmao.
Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
License
This project is licensed under the ISC License - see the LICENSE file for details.