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

lsb

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lsb

Hide string data in the least-significant bits of an array/image

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

lsb Build Status

Hide string data in the least-significant bits of an array. It's an easy way of, say, storing information in images invisibly. Note that if you're trying to hide something important you should probably use something else :)

Installation

$ npm install lsb

Usage

require('lsb').encode(channel, stegotext, [iterator])

Where channel is the array to hide the stegotext string in. iterator is an optional callback for determining the index of each hidden byte, if you want to get tricky.

require('lsb').decode(channel, [iterator])

Once encodeded, use this on the same channel array to return the hidden string. If you used an iterator callback before, you'll need to use it again here or you'll get garbage text.

Keywords

steganography

FAQs

Package last updated on 21 Mar 2013

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