Horcrux is a command-line tool built in Go that enables you to split a file into encrypted fragments (“horcruxes”) so you don’t need to remember a pass-code for later decryption. It uses the Shamir Secret Sharing scheme to break an encryption key into multiple pieces, such that only a threshold of them can reconstruct the original file. You select the number of fragments to create and the minimum number required to recover the file, then scatter the fragments (e.g., on USBs or cloud locations). The tool provides a “split” command to create the fragments and a “bind” command to recombine them to the original file. It’s especially aimed at people who want strong security for sensitive large files and want to avoid remembering complex pass-codes, and also those who may distribute fragments across multiple locations. The logic is built on Go’s crypto libraries and the underlying Shamir implementation, with an emphasis on simplicity and security rather than password-based keying.

Features

  • Split a file into N encrypted fragments and require M of them to reconstruct
  • Bind the fragments back into the original file with a simple command
  • Use of Shamir Secret Sharing scheme to handle key splitting and threshold recovery
  • Installation via standard package managers (e.g., Homebrew, Scoop) or binaries
  • No password to remember: security is in the distribution of fragments, not memorisation
  • Cross-platform support for Go binaries (Linux, macOS)

Project Samples

Project Activity

See All Activity >

Categories

Encryption

License

MIT License

Follow horcrux

horcrux Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of horcrux!

Additional Project Details

Operating Systems

Linux

Programming Language

Go

Related Categories

Go Encryption Software

Registered

2025-10-27