openpgpjs/test/fuzz/createMessageBinary.cjs
2023-12-13 14:56:27 +01:00

10 lines
222 B
JavaScript

/**
* @param { Buffer } inputData
*/
module.exports.fuzz = function(inputData) {
import('../initOpenpgp.js').then(openpgp => {
return openpgp.default.createMessage({ binary: new Uint8Array(inputData) });
});
};