roxify 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -618,6 +618,8 @@ export async function encodeBinaryToPng(input, opts = {}) {
618
618
  payload = Buffer.concat([Buffer.from([ENC_AES]), salt, iv, tag, enc]);
619
619
  if (opts.onProgress)
620
620
  opts.onProgress({ phase: 'encrypt_done' });
621
+ }
622
+ else if (encChoice === 'xor') {
621
623
  const xored = applyXor(payload, opts.passphrase);
622
624
  payload = Buffer.concat([Buffer.from([ENC_XOR]), xored]);
623
625
  if (opts.onProgress)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roxify",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "Encode binary data into PNG images with Zstd compression and decode them back. Supports CLI and programmatic API (Node.js ESM).",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",