mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-24 14:35:51 +00:00
since coverage does not work as expected at all, we can use esm. So if jazzer at some point, add esm support for esm, we can easily add it
10 lines
190 B
JavaScript
10 lines
190 B
JavaScript
import openpgp from '../initOpenpgp.js';
|
|
|
|
/**
|
|
* @param { Buffer } inputData
|
|
*/
|
|
export function fuzz (inputData) {
|
|
return openpgp.createMessage({ binary: new Uint8Array(inputData) });
|
|
}
|
|
|