no-more-secrets-rust/README.md

53 lines
2.2 KiB
Markdown
Raw Normal View History

No More Secrets
===============
2016-04-25 10:40:19 -07:00
"No More Secrets" is the name I've lovingly given to the infamous "decrypting text effect" seen on
2016-04-25 10:49:53 -07:00
screen in the 1992 hacker movie "Sneakers". If you are unfamiliar with the effect, it can be seen
at 0:35 in [this youtube video](https://www.youtube.com/watch?v=F5bAa6gFvLs).
2016-04-25 10:40:19 -07:00
2016-04-25 10:54:05 -07:00
This project seeks to provide tools to recreate this effect in your projects. As a demonstration,
I've included a program (called "sneakers"; type `make sneakers` when installing.) that
2016-04-25 10:40:19 -07:00
utilizes the provided code to recreate, almost identically, what we see in the above movie clip.
2016-04-25 10:41:19 -07:00
Here is a screencap of that program:
2016-04-25 10:40:19 -07:00
![Screenshot](http://www.tackboard.world/no_more_secrets.gif)
2016-04-22 13:25:21 -07:00
What's Provided
---------------
2016-04-25 10:49:53 -07:00
Two tools are provided for you to recreate this effect:
2016-04-22 13:40:16 -07:00
1. A standalone executable file named `nms`. This file accepts data from a shell pipe and displays it in a manner that is nearly identical to the effect we see in the movie.
2016-04-25 10:51:10 -07:00
2. A module, written in C, that can be included in programs and used to recreate this effect in a custonized way. In fact, the standalone executable `nms` is really just an example that shows how to use this module on piped data.
2016-04-22 13:25:21 -07:00
2016-04-22 13:34:40 -07:00
Installing the Standalone Executable
------------------------------------
```
git clone https://github.com/bartobri/no-more-secrets.git
cd ./no-more-secrets
make
```
2016-04-22 13:25:21 -07:00
This will create an executable file named `nms` and place it in the `no-more-secrets/bin/` directory.
You may manually copy it in to your preferred bin directory.
2016-04-22 13:40:16 -07:00
Using the Standalone Executable
-------------------------------
2016-04-22 13:40:16 -07:00
`nms` accepts data from a shell pipe. Simply pipe some data to it and enjoy the magic!
```
2016-04-22 13:34:40 -07:00
ls -l | bin/nms
```
Once the "encrypted" data is displayed, the program will pause until you press a key. Then the
2016-04-22 13:40:16 -07:00
decryption effect will start. After that is completed, it will again pause until
you press a key, at which point the program will terminate.
2016-04-22 13:25:21 -07:00
License
-------
This program is free software; you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation; either version 3 of the License,
or (at your option) any later version. See [COPYING](COPYING) for more details.