all InfoSec news
RSA Encryption Decryption
Oct. 20, 2023, 8:41 a.m. | SilvenLEAF
DEV Community dev.to
RSA Encryption Decryption
How does this work?
- [x] generate SECRET_KEY and PUBLIC_KEY key pair to encrypt decrypt files
- [x] share this PUBLIC_KEY of your SECRET_KEY to the decrypter machine
- [x] encrypt the data on encrypter machine using the given PUBLIC_KEY of the decrypter
- [x] send this encrypted file to the decrypter machine
- [x] decrypt the file using the SECRET_KEY of your given PUBLIC_KEY on decrypter machine
Decrypter Machine
- [x] generate SECRET_KEY and PUBLIC_KEY key pair using this function
const fs …
backend data decrypt decrypter decryption encrypt encrypted encryption file files javascript key machine node rsa rsa encryption send share silvenleaf work
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
Technical Senior Manager, SecOps | Remote US
@ Coalfire | United States
Global Cybersecurity Governance Analyst
@ UL Solutions | United States
Security Engineer II, AWS Offensive Security
@ Amazon.com | US, WA, Virtual Location - Washington
Senior Cyber Threat Intelligence Analyst
@ Sainsbury's | Coventry, West Midlands, United Kingdom
Embedded Global Intelligence and Threat Monitoring Analyst
@ Sibylline Ltd | Austin, Texas, United States
Senior Security Engineer
@ Curai Health | Remote