A Node.js module for generating unique keys with the Arlecchino touch.
npm install arlecchino-key-generator
const arle = require('arlecchino-key-generator');
// Generate a single key
arle.createHash();
// Generate multiple keys
arle.createManyHashes(100);
// Generate a custom key
arle.createCustomHash('Clorinde');
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.
-
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. -
parse(hashString)
: Converts a createHash string to an array of bytes. -
stringify(byteArray)
: Converts an array of bytes to a createHash string. -
validate(hashString)
: Validates a createHash string.
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.
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
This project is licensed under the ISC License - see the LICENSE file for details.