#encryption #hyperlink #terminal #one-time-pad

app hyperlink-one-time-pad

CLI tool that doesn't require you to save huge files for one-time-pad encryptions by using hyperlinks

3 releases (breaking)

Uses new Rust 2024

0.3.0 Jul 22, 2025
0.2.0 Dec 12, 2021
0.1.0 Apr 21, 2021

#2126 in Command line utilities

Custom license

27KB
71 lines

Minimalistic easy-to-understand encryption tool.

License: GPL3 Crate

hyperlink-one-time-pad

Example

hyperlink-one-time-pad "secret_stuff.zip" add http://example.com/vid.mp4 http://example.com/data.rar

Description

The above example uses two files from the internet (both should have a bigger file size than the file to encrypt) that are both downloaded automatically and "layed over" the file to encrypt. Decrypting works the same way using the parameter sub instead of add. You only need to memorize the files that are online available and don't need to store or exchange huge keys, which is a negative point with the normal one-time-pad. It is also possible to use local files as keys instead of hyperlinks.

Notes

  • Remember that the internet providers may safe the files you download. Use this on top of normal encryption methods.
  • The order of the key parameters does not matter.
  • Hyperlinks must start with http:// or https://.

Build

You might need to install openssl-devel.

Dependencies

~8–21MB
~279K SLoC