box

command module
v0.0.0-...-8cc207b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2016 License: MIT Imports: 10 Imported by: 0

README

Build Status

box

box is a tool for encrypting and decrypting files using secretbox

usage

Generate a secretbox key

$ box generate
J5s5xEl3TskRnwHUZI3lYPMf7RFRwvD2PVoHWxMF0m0=

Set BOX_KEY environment variable

$ export BOX_KEY='J5s5xEl3TskRnwHUZI3lYPMf7RFRwvD2PVoHWxMF0m0='

[NB: J5s5xEl3TskRnwHUZI3lYPMf7RFRwvD2PVoHWxMF0m0= is a demonstration key, do not use this key]

Seal a file

$ box seal plain.txt > cipher.txt

Open a sealed file

$ box open cipher.txt > plain.txt

install

$ go get github.com/voutasaurus/box

contributions

PRs welcome

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL