8000 GitHub - yangbonis/Aqua: Protect data using Reed-Solomon algorithm
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yangbonis/Aqua

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aqua

CodeFactor License: Unlicense

A minimal tool that implements Reed-Solomon algorithm to protect files against corruption

Installation

You need just a C compiler with the default libraries, and make

# Compiles to `aqua`
make
# Optional, copy the binary to /usr/local/bin
sudo make install

Example

# Protect the file (defaults to 10 symbols per 256 bytes)
cat file | aqua protect > file.aqua
# Corrupts 5 bytes of the first part of the file
dd if=/dev/urandom of=file.aqua bs=1 count=5 seek=0 conv=notrunc 
# Corrupts 5 bytes of the another part of the file
dd if=/dev/urandom of=file.aqua bs=1 count=5 seek=1000 conv=notrunc
# File can still be fully recovered
cat file.aqua | aqua purify > file2
# Proof
md5sum file
md5sum file2

About

Protect data using Reed-Solomon algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.9%
  • Makefile 1.1%
0