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
/* | |
* Adyen 4.5.0 encryption by github.com/levi-nz | |
* | |
* This code is a rough implementation and can be improved in some places. | |
* Read comments throughout the code for more information. | |
*/ | |
const jose = require('node-jose'); | |
// Parse the key from the string found in securedFields.html ("10001|...") |