Skip to content

andmarios/crypto

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

A go package for simple NaCl secret-key encryption and decryption. Provides salted and padded key versions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages