Encrypt text using TypeScript, Node. Generate Hashes & Random Numbers using the crypto library

preview_player
Показать описание
I have coded for encrypting data using the 'aes-256-cbc' algorithm. In real life, you must encrypt sensitive information like credit card information, secret keys, etc. before storing it in the database. This will prevent the misuse of this sensitive information if the data gets leaked. You will also need a way to decrypt this information when required. In this blog/video, I have written a basic code in typescript to encrypt and decrypt information.

If you found this video helpful, don't forget to like, share, and subscribe for more such videos.

Chapters
00:00 - Intro
01:35 - Generate Cryptographically secure random numbers
03:45 - Generate Hashes
06:10 - Encrypt your data
11:15 - Decrypt your data
Рекомендации по теме