Encrypt your files in cow language ๐Ÿ„

Overview

Cow-encryptor

Encrypt your files in cow language ๐Ÿฎ

Installation ๐Ÿ“ฆ

Arch Linux ๐Ÿง

cow-encryptor is in the AUR

yay -S cow-encryptor

Other ๐ŸชŸ ๐Ÿง

With make - Linux ๐Ÿง

Run make

# ๐Ÿ“‚ cow-encryptor/
make

Build from source - Linux ๐Ÿง & Windows ๐ŸชŸ

Clone this repo

git clone https://github.com/SkwalExe/cow-encryptor.git

build with cargo

# ๐Ÿ“‚ cow-encryptor/
cargo build --release

[ LINUX ONLY ] : Move the binary

# ๐Ÿ“‚ cow-encryptor/
sudo cp target/release/cow-encryptor /usr/bin/cow-encryptor

On windows the executable will be target\release\cow-encryptor.exe you can move it wherever you want.

Usage ๐Ÿ“

--overwrite

Folder content :

If you try

cow-encryptor secret.txt

You will get the following error :

Because a destination file already exists.

Use the --overwrite flag to overwrite the destination file.

--encrypt

Enter encryption mode, the specified file will be encrypted.

Original file :

cow-encryptor --encrypt secret.txt

Result :

Encryption mode will be used by default if the file doens't have the .cow extension.

--decrypt

Enter decription mode, the specified file will be decrypted.

Encrypted file :

cow-encryptor [--decrypt] secret.txt.cow

The decryption mode will automatically be used if the file ends with .cow

--print

With this option, the encrypted/decrypted file will be printed to the standard output instead if saving it to a file.

Docker ๐Ÿณ

Run the latest version

docker run --rm -it ghcr.io/skwalexe/cow-encryptor:main

Test your changes ๐Ÿšง

Build ๐Ÿ› ๏ธ

# ๐Ÿ“‚ cow-encryptor/
docker build -t cow-encryptor .

Run ๐Ÿƒ

docker run --rm -it cow-encryptor [OPTIONS]

Uninstall ๐Ÿ—‘

With make

Run make uninstall

# ๐Ÿ“‚ cow-encryptor/
make uninstall

Or

Just remove the binary

sudo rm /usr/bin/cow-encryptor

Setting up development environment

For this project, I recommend Visual Studio Code.

You'll need to install the rust extension

ext install rust-lang.rust

contributing

Start by forking this repository.

Then clone your fork to your local machine.

git clone https://github.com/your-username/cow-encryptor.git

Create a new branch

git checkout -b super-cool-feature

Then edit the source code in the ๐Ÿ“‚/src/ folder.

Once you're done, commit your changes and push them to the remote repository.

git add --all
git commit -m "Add super-cool-feature"
git push origin super-cool-feature

Then, open a pull request on GitHub from your fork.

final

If you have any problem, don't hesitate to open an issue

You might also like...
A mdbook preprocessor that allows the re-usability of template files with dynamic arguments

mdbook-template A mdbook preprocessor that allows the re-usability of template files with dynamic arguments Table of Contents Author Notes Installatio

Convert rust coverage data to HTML reports, LCOV files or terminal tables

Coverage Prepare Convert coverage data to HTML reports, LCOV files or terminal tables. coverage-prepare --help: Convert "profraw" coverage data to: *

Cloup is a template manager that provides the files you desire when you need them, written in Rust.
Cloup is a template manager that provides the files you desire when you need them, written in Rust.

cloup cloup is a template manager that delivers the files you desire when you need them, written in rust you no longer need to locate your previous pr

An easy-to-use CLI tool to recover files from zfs snapshots

zfs-undelete an easy-to-use cli tool to recover files from zfs snapshots Usage Use zfs-undelete file-to-restore. Works for file and folders. By defa

Emerging smart contract language for the Ethereum blockchain.

Emerging smart contract language for the Ethereum blockchain.

Zero-Knowledge Assembly language and compiler

zkAsm A Zero-Knowledge circuit assembly language, designed to represent Zero-Knowledge circuits in a compressed format, to be stored on blockchains. I

Aya is an eBPF library for the Rust programming language, built with a focus on developer experience and operability.

Aya API docs | Chat | Aya-Related Projects Overview eBPF is a technology that allows running user-supplied programs inside the Linux kernel. For more

Noir is a domain specific language for zero knowledge proofs

The Noir Programming Language Noir is a Domain Specific Language for SNARK proving systems. It has been designed to use any ACIR compatible proving sy

Prost is a Protocol Buffers implementation for the Rust Language.

PROST! prost is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files. Com

Comments
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 6% ๐ŸŽ‰

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /images/1.png | 10.26kb | 8.09kb | 21.09% | | /images/banner.png | 49.83kb | 43.86kb | 11.99% | | /images/usage.png | 82.06kb | 77.96kb | 5.00% | | /images/2.png | 42.49kb | 40.62kb | 4.41% | | /images/6.png | 53.73kb | 51.58kb | 4.01% | | /images/4.png | 53.56kb | 51.43kb | 3.98% | | /images/7.png | 12.26kb | 11.94kb | 2.61% | | /images/3.png | 12.12kb | 11.82kb | 2.49% | | /images/5.png | 10.78kb | 10.57kb | 2.01% | | | | | | | Total : | 327.10kb | 307.86kb | 5.88% |


    ๐Ÿ“ docs | :octocat: repo | ๐Ÿ™‹๐Ÿพ issues | ๐Ÿช marketplace

    ~Imgbot - Part of Optimole family

    documentation chore 
    opened by imgbot[bot] 0
Releases(v0.2.1)
Owner
Skwal
Founder of skwal.net, I use arch btw, vive la France๐Ÿ‡ซ๐Ÿ‡ท
Skwal
ssh-box: use ssh keys to encrypt files

ssh-box: use ssh keys to encrypt files work in progress ssh-box file format A file encrypted by ssh-box is an ASCII-armored binary file. The binary co

Tony Finch 3 Jun 27, 2022
Koofr Vault is an open-source, client-side encrypted folder for your Koofr cloud storage offering an extra layer of security for your most sensitive files.

Koofr Vault https://vault.koofr.net Koofr Vault is an open-source, client-side encrypted folder for your Koofr cloud storage offering an extra layer o

Koofr 12 Dec 30, 2022
Bitcoin Push Notification Service (BPNS) allows you to receive notifications of Bitcoin transactions of your non-custodial wallets on a provider of your choice, all while respecting your privacy

Bitcoin Push Notification Service (BPNS) Description Bitcoin Push Notification Service (BPNS) allows you to receive notifications of Bitcoin transacti

BPNS 1 May 2, 2022
deductive verification of Rust code. (semi) automatically prove your code satisfies your specifications!

Le marteau-pilon, forges et aciรฉries de Saint-Chamond, Joseph-Fortunรฉ LAYRAUD, 1889 About Creusot is a tool for deductive verification of Rust code. I

Xavier Denis 609 Dec 28, 2022
Employ your built-in wetware pattern recognition and signal processing facilities to understand your network traffic

Nethoscope Employ your built-in wetware pattern recognition and signal processing facilities to understand your network traffic. Check video on how it

Vesa Vilhonen 86 Dec 5, 2022
Audit Cargo.lock files for dependencies with security vulnerabilities

RustSec Crates ?? ??๏ธ ?? The RustSec Advisory Database is a repository of security advisories filed against Rust crates published via crates.io. The a

RustSec 1.2k Dec 30, 2022
paq files to hash.

paq paq files to hash. Hash a single file or all files in directory recursively. Installation Requires cargo. Run cargo install paq. Usage Run paq [sr

gregory langlais 3 Oct 10, 2022
Easily and securely share files from the command line. A fully featured Firefox Send client.

Notice: the default Send host is provided by @timvisee (info). Please consider to donate and help keep it running. ffsend Easily and securely share fi

Tim Visรฉe 6.3k Dec 25, 2022
Flashcards: A spaced repetition app designed around org files.

Flashcards Since it's easy to create notes in org-mode and difficult to create flashcards, this app tries to ease the process of making cards! For you

Shailesh Mishra 5 Jun 10, 2022
Smarter brute-force password searching for PKZIP encrypted files

Zip Blitz Motivation This program was created for a very specfic problem I had. I had a large encrypted zip file that I lost/forgot the password for.

Michael 4 Jul 29, 2022