New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

obfuscate-data

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obfuscate-data

Reversibly obfuscate data with a secret key

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

obfuscate-data

Reversibly obfuscate data with a secret key

Usage

const obf = require('obfuscate-data')

const key = obf.generateKey()

const obfuscated = obf.obfuscate(data, key)
const deobfuscated = obf.deobfuscate(obfuscated, key)

API

const key = generateKey()

Generate a key

const payload = obfuscate(data, key)

Obfuscate data using key

const data = deobfuscate(payload, key)

Deobfuscate data using key

License

Apache-2.0

FAQs

Package last updated on 06 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts