DES algorithm
Anyone knows how to write DES in Node? I have an assignment and my brain is melting. If anyone has a gist, it will save my miserable life. 🙏
4 Replies
Take a look at: https://www.section.io/engineering-education/data-encryption-and-decryption-in-node-js-using-crypto/
Engineering Education (EngEd) Program | Section
Data Encryption and Decryption in Node.js using Crypto
This article provides a detailed guide on how to use the crypto module to implement encryption and decryption in a Node.js application.
DES (today known as AES) is a symmetric encryption method
You take a input and a key and get encrypted noise
With the key you can revert the encryption and get the input from the encrypted noise
The issue is, it should be build from scratch
In that case you could take a look at how node implemented its cryptographic module
If you need assistance in this this discord channel probably isnt the right place. No sane web developer implements their own encryption 🤷🏻♂️