# Introducing Pi-crypt

1 year ago Oct 31, 2012**π-crypt** is brand new way to send and share information, tapping into the infiniteness of π. A true breakthough in the fields of number theory and networking, π-crypt does not require you to transmit any data (except a start and end point). That’s right, with π-crypt, you can send *any* file, without actually sending a file.

### How does it work?

π is believed to be a normal number, meaning that (if proven true), the decimal represention of π in base-b will contain each digit with an equal frequency. Since π is irrational (and this one *is* proven), a base-2 representation of π will contain an infinite, equally-occurring, random sequence of 0’s and 1’s. That means *every* finite sequence of 0’s and 1’s can be found **somewhere** within π.

π-crypt works on these ~~assumptions~~ properties, and allows users to tap into π’s *everything-ness*. Give it a sequence of bits, and π-crypt will return the start and end point of a sequence in π matching the input **exactly**. Let’s see it in action.

```
$ pi-crypt /Users/jordan/Desktop/mysong.mp3
Searching...
5d41402abc4b2a76b9719d911371c8293a8201bb839283e1281017c592
5d41402abc4b2a76b9719d911371c8293a8201bb839283e12818a73bc3
```

### Decrypting

To use these giant numbers, and they will most likely be **very** large (much larger than our example), we simply need to extract the digits in π (the binary representation) from the first number, up until the second. We’re in luck. The Bailey-Borwein-Plouffe formula allows for individual binary digit extraction from π – without the need to compute any previous digits. Given only a start and end point (or a start and distance) we can tap into π and get our data.

### What’s the catch?

Well, **π-crypt does not exist**. However, it *does* raise some interesting questions about piracy. If I find the bit sequence for Metallica’s “Ride the Lightning” and send you the “coordinates,” is that illegal? **I’m not giving you the file, π is!**

And even further, *every* conceivable (even some inconceivable) data might (remember, not proven yet) be found in this infinite, all-encompassing sequence of bits. Any song, any movie, any book – even ones that don’t exist yet. Imagine, a scandalous video featuring a presidential candidate – *yes, that is in π* (and it’s in every format).

### A question of legality

Since all we’re sharing is a number (which, by itself contains no data), can this act be deemed illegal? This question has been raised before, mainly involving the sharing of decryption keys for various embedded systems. With the theoretical π-crypt, we’re dealing with an entirely different monster. π contains a *lot* of data, and tapping into that data falls into a gray area of legality.

It’s a question we might just need to answer some day. π

Follow me on twitter to read my tiny bursts of inspiration – @jdan