HashSlap-Summer-of-Code/cipher-vault
Convert Vigenère Cipher to Node.js Module
Aberta
#10 aberto em 19 de jun. de 2025
HSSOCIntermediateenhancementgood first issuehacktoberfest
Métricas do repositório
- Stars
- (0 estrela)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Description:
Refactor the existing vigenere.js script to work as a reusable Node.js module that can be installed via npm and imported in other scripts. This makes the cipher logic modular and scalable.
Expected Tasks:
- In
js-ciphers/, create a proper Node.js module:- Export
encryptanddecryptfunctions - Use
module.exportsorexportsyntax
- Export
- Add a
package.jsonwith name, version, description - Create a sample
test.jsto demonstrate how to use the module - Update the root
README.mdwith:- Installation instructions
- Example usage in Node.js
Stretch Tasks:
- Publish it locally via
npm link - Add a TypeScript version with types included