crypto

command module
v0.0.0-...-744ffa8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2015 License: BSD-3-Clause Imports: 3 Imported by: 0

README

crypto (golang)

Crypto provides two libraries for easy encryption and decryption of data. It uses NaCl secret-key (symmetric encryption).

Padsecret pads (if needed) the user key with a user-provided pad. It is less secure but very fast.

Saltsecret creates the encryption key anew for every message by using scrypt and the user key. It is more secure but slow.

See the benchmark files or run the benchmarks yourself (go run test -bench .) to make your decision.

You may find documentation and examples in each package's folder.

Also you may check:

https://godoc.org/github.com/andmarios/crypto/nacl/padsecret https://godoc.org/github.com/andmarios/crypto/nacl/saltsecret

Documentation

Overview

Package crypto provides NaCl based encryption libraries. For more information have a loot at: https://godoc.org/github.com/andmarios/crypto/nacl/padsecret https://godoc.org/github.com/andmarios/crypto/nacl/saltsecret

Directories

Path Synopsis
nacl
padsecret
Package padsecret implements a simple library for on-the-fly NaCl secret key (symmetric) encryption and decryption with a padded key.
Package padsecret implements a simple library for on-the-fly NaCl secret key (symmetric) encryption and decryption with a padded key.
saltsecret
Package saltsecret implements a simple library for on-the-fly NaCl secret key (symmetric) encryption and decryption with a scrypt derived key.
Package saltsecret implements a simple library for on-the-fly NaCl secret key (symmetric) encryption and decryption with a scrypt derived key.

Jump to

Keyboard shortcuts

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