mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-25 15:06:03 +00:00
10 lines
222 B
JavaScript
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) });
|
|
});
|
|
};
|
|
|