Socket
Book a DemoInstallSign in
Socket

bamble

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

bamble

one time pad management and encryption/decription library

0.0.5
latest
Source
npmnpm
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

bamble is an open source numbers station

bamble is totally useless. this app was written for freedom, fun, and a personal challenge.

command line

install bamble globally

$ sudo npm install bamble -g

generate a 25 entry pad into book1

$ bamble prep -n 25 --book book1

import the book1 pad

$ cat books/book1 | bamble import

generate a message from that pad

$ echo 'hello world' | bamble say -b book1 > filename.bamble

read a message from that pad

$ cat filename.bambled | bamble read -b book1

WARNING

Writing does not advance the pad, so messages need to be read after writing to keep the writer's pad in sync with the audience's

When a message has been read successfully, its pad should be deleted so that the next message may be read, and for security

there are more options described in the help section of the app and each of its subcommands

$ bamble -h

$ bamble say -h 

$ bamble read -h 

and so on

api

in broad strokes...

install bamble locally

$ npm install bamble 

$ var Key = require('bamble/key')

$ var newKey = new Key();

$ var secret = newKey.secret; // this is what you would give to someone so they could read your message

$ var message = Key.sign('this is a message') // this will output a message

$ var key2 = new Key(secret)

$ key2.read(message) //=> returns 'this is a message'

Keywords

spy

FAQs

Package last updated on 03 Jul 2015

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.