Picrypt was created by Ted Kubaitis in April, 2016. Picrypt is a very chaotic cipher. It is a new kind of Vigenere cipher. The main difference is the encrypted values don't represent the data, but rather the address of where the data can be found in the digits of Pi. The hypothesis is that the stronger the password the stronger the encryption. In a nutshell this encryption algorithm searches for your data in the infinite series of Pi (to make it fast we are just using the first million) but the offsets are messed up by rotating the bytes of your password and factoring in the password checksum so the only way to decrypt the data is to brute force the password. At least that is my proposed hypothesis.
How does Picrypt work?
get the length of the password
get the sum of the bytes in the password
set the initial offset in Pi to password length * sum of password bytes
for each byte of content
rotate each byte of password for each byte of content to increase the initial offset
get the current byte and the next byte ('.' if no next byte)
create zero padded 3 digit ASCII values for both bytes
from our current offset search pi for consecutive digits matching the two bytes
return the number of bytes scanned to find the matching bytes as the encrypted value for current byte
return a comma delimited list of integer offsets as the encrypted data
How Strong is Picrypt?
Honestly, I don't know. I need help figuring this out. I would assume it is weak until industry experts prove it is otherwise.
Why does Picrypt use Pi?
It doesn't have to... you could use a million random digits for the public key, but Pi is already everywhere so it seemed cool to use it for the public part of the cipher.
Why use Picrypt when there are proven alternatives?
Boring! If you like math and encryption why not explore new ideas? But don't use it for anything important until it gets approved by better experts than me. :-)