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
sudo mkdir -p /opt/epson-inkjet-printer-escpr/cups/lib/filter | |
ln -s /usr/lib/cups/filter/epson-escpr-wrapper /opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper | |
service cups stop | |
service cups start |
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
import Utf8 from 'crypto-js/enc-utf8.js'; | |
import AES from 'crypto-js/aes.js'; | |
const secretKey = 'gist-sequelize' | |
export function decrypt(ciphertext) { | |
return AES.decrypt(ciphertext, secretKey).toString(Utf8); | |
} |