file-encrypter

command module
v0.0.0-...-1c520d6 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 5 Imported by: 0

README

File Encrypter

This is a simple project to encrypt and decrypt files and folders.

How it works

First it TARs the files, then, if the option is passed, it uses LZMA2 to compress the TAR archive.

Then everything is encrypted using AES256. The key is derived using Argon2ID.

At the beginning of the encrypted file are stored 2 magic bytes (to determine whether it was compressed or not) and the salt.

Credits

Thanks to this article for tar and un-tar code.

Thanks to nicholastoddsmith for aesrw, even if in the future I will implement my own solution.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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