Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darkceptor44/cipher
Encrypt/decrypt txt files symmetrically made entirely in Go
https://github.com/darkceptor44/cipher
go golang
Last synced: about 2 months ago
JSON representation
Encrypt/decrypt txt files symmetrically made entirely in Go
- Host: GitHub
- URL: https://github.com/darkceptor44/cipher
- Owner: DarkCeptor44
- License: mit
- Created: 2023-05-14T18:48:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-16T06:42:24.000Z (7 months ago)
- Last Synced: 2024-06-16T08:12:20.988Z (7 months ago)
- Topics: go, golang
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cipher
An utility made in pure Go without any external dependencies, it uses symmetric encryption to encrypt or decrypt any txt files in the same directory using the password provided.
Can be used for simple things like making a digital diary unusable by most people.## Installation
1. Install [Go](https://go.dev/) 1.20 or above.
2. Clone this repository with `git clone `.
3. (Optional) Open `main.go` and change the salt in line 18 to something else random ([why](#why-change-salt)).
4. Run the build command:```bash
go build .
```## Usage
```bash
# windows
cipher.exe# linux/etc
./cipher
```## Why change salt
By changing the salt, you're basically adding an extra layer of protection to the encryption process. The salt acts as a random value that gets combined with the password to create a unique encryption key. This unique key makes it way more challenging for potential attackers to crack the encrypted files.
## License
This project is licensed under MIT, check it out [here](LICENSE)