NA
Naranbataar/Aqua
Protect data using Reed-Solomon algorithm
Aqua
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 installExample
# 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 file2On this page
Languages
C98.9%Makefile1.1%
Contributors
Latest Release
v1.0August 7, 2019The Unlicense
Created August 7, 2019
Updated September 11, 2023