Locked  - ultra secure file locker banner

Locked - ultra secure file locker

4 devlogs
5h 43m 49s

Locked is a CLI tool that allows you to lock your files into self-contained .locker archives.
Features

  • AES-256-GCM Encryption: Files are encrypted using AES-256-GCM
  • Password Protection: Password-based key derivation using salt (argon2)
  • Self-contained: .locker file contain all the metadata needed for decryption
This project uses AI

Used Github Copilot for learning about encryption in Go and writing a bit of repetitive code

Demo Repository

Loading README...

cooldevcoding

It now automatically deletes the input file and also the unlocked files now have a “_unlocked” text attached to the unlocked files

Attachment
0
cooldevcoding

Finished

I have finally finished my first serious Go Project. What i have accomplished

  • AES-256-GCM Encryption: Encryption with GCM mode for integrity verification
  • Argon2 Key Derivation: Secure password-based key derivation resistant to GPU/ASIC attacks
  • Self-Contained .locker Format: All metadata needed for decryption is stored in the archive
  • Streaming Encryption: Efficient file processing with minimal memory footprint
  • Cross-Platform: Full support for Windows, macOS (um well not tested but probably), and Linux (may break depending on OS i think)

I have also create a Github releases with the respective binaries so try them out: Github releases page!

Attachment
0
cooldevcoding

AES-256-GCM encryption with Argon2 key derivation

  • Added password-based key derivation using Argon2
  • Implemented AES-256-GCM encryption for data and streams
  • Included salt generation and serialization
  • Supports both in-memory and streaming encryption modes
    Well i can’t show an image yet of it working because have too intergrate the functionality into the tool so here is an image of me running the code (it win’t work because package command-line-arguments is not a main package)
Attachment
0
cooldevcoding

I worked on learning Encryption in Go. So basically as of now i have the basic skeleton of the cli and I am working on the file encryption and decryption so it can lock and unlock files. Below is an image of the basic skeleton and yeah I know that I need to fix the tabbing cryin

Attachment
0