Skip to content

Instantly share code, notes, and snippets.

View AnCry1596's full-sized avatar

Annnekkk AnCry1596

  • 15:21 (UTC +07:00)
View GitHub Profile
@leafypout
leafypout / encrypt.js
Created July 17, 2023 08:22
Adyen 4.5.0 encryption
/*
* 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|...")