This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A node demo program for creating the ECDH | |
// Importing the crypto module | |
const crypto = require('crypto'); | |
// import crypto from 'crypto' | |
// Initializing the algorithm | |
const algorithm = 'aes-256-cbc'; | |
// Initializing the key | |
const key = Buffer.from("48b1db4df28757ba48b1db4df28757ba"); |