Skip to content

About

Encrypt the xlsx file that was delivered in buffer form.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

excel-crypto

xlsx encrypt/decrypt based on ECMA376

Installation

# npm
npm install excel-crypto

# yarn
yarn add excel-crypto

# pnpm
pnpm install excel-crypto

Usage

# example

import { XLSX_Cryptor } from "excel-crypto";
import { readFileSync, writeFileSync } from "fs";

const XlsxCryptor = new XLSX_Cryptor();

// 1. get Buffer
const fileBuffer = readFileSync('./file_path');

// 2. get encrypt Buffer
const encryptFile = XlsxCryptor.encrypt({
  data: fileBuffer,
  password: 'your_password',
});

// 3. create new file (.xlsx)
writeFileSync('./new_path', encryptFile)

Authors

  • _jujoycode - Project initial and development

Version History

  • 1.0.1

    • 🔨 build with esBuild (Bundling, Minify, Tree Shaking)
  • 1.0.0

    • ✨ Encrypt XLSX

License

Write your license info here (ex. This project is licensed under the [MIT] License)

About

Encrypt the xlsx file that was delivered in buffer form.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages