Locked  - ultra secure file locker banner

Locked - ultra secure file locker

4 devlogs
3h 53m 46s

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)

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...

Pratham

Shipped this project!

Hours: 3.9
Cookies: 🍪 0
Multiplier: 11.57 cookies/hr

I built a cli tool for locking files securely using passwords using the AES-256-GCM encryption method. I really had fun using Go and learning about the cryptography library. The hardest part was the encryption and decryption itself and making the file self contained into on .locker file

Pratham

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

Attachment
0
Pratham

Shipped this project!

Hours: 5.35
Cookies: 🍪 136
Multiplier: 25.36 cookies/hr

I built a cli tool for locking files securely using passwords using the AES-256-GCM encryption method. I really had fun using Go and learning about the cryptography library. The hardest part was the encryption and decryption itself and making the file self contained into on .locker file

Pratham

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
Pratham

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
Pratham

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