1 . goto beyond compare
folder
cd "/Applications/Beyond Compare.app/Contents/MacOS/"
2 . rename BCompare
to BCompare.real
mv BCompare BCompare.real
const crypto = require('crypto'); | |
// Demo implementation of using `aes-256-gcm` with node.js's `crypto` lib. | |
const aes256gcm = (key) => { | |
const ALGO = 'aes-256-gcm'; | |
// encrypt returns base64-encoded ciphertext | |
const encrypt = (str) => { | |
// The `iv` for a given key must be globally unique to prevent | |
// against forgery attacks. `randomBytes` is convenient for |
1 . goto beyond compare
folder
cd "/Applications/Beyond Compare.app/Contents/MacOS/"
2 . rename BCompare
to BCompare.real
mv BCompare BCompare.real