Password File Encryption System (PFES)

It got its name because it began its life as a file that is used to encrypt/decrypt a data file more commonly known as one time pad or vernam cipher unfortunately that was already patented meaning this had to be repurposed for another use. The very first algorithm was simple add up all the characters in the password to make a magic number then find the floating point modulous of that number with the password length and move all the characters in the file that number of positions forwards then reverse for decryption the password length is increased by one until the floating point modulous is 2 or greater. This was the original submission to the NSA (National Security Agency) and this was how I got my NSA certification. It wasn't a good or bad algorithm it was designed to serve a purpose and it served that purpose but why patent it?! The NSA weren't finished with this algorithm it would go on to have four different versions before the NSA and the CIA merged and the NSA became nothing more than a big computer under the CIA's control many years later. This version could be seen as PFES version 1 since the original from which it got its name was scrapped because someone had beaten us to it and got the patent first.

PFES version 2 adds an array of random numbers they are two digit random numbers with a maximum of 64 numbers in the array. The password is locked to 64 characters and no password over this length will be accepted. What is different in this version is the password length will correspond to the value in the array so the floating point modulus is now not the length of the password but whatever is in that position in the array making the algorithm a lot more secure and giving it a military level 3 algorithm although this is actually a level 4 military level but it's better than PFES1 which is not even ranked a military level encryption. The reason for this change was because of milConnect the military felt PFES1 was too weak for milConnect they asked me to revise the algorithm's security and I agreed to do that. For milConnect the fact it was a military four algorithm and not 3 didn't really matter as long as it had a military level encryption PFES1 didn't making it totally unsuitable for milConnect.

I wanted everyone to use milConnect and so I had no problems with the CIA saying that they wanted to use milConnect too they are very generous when it comess to military contracts offering me twice as much as the American military for the same thing. What the CIA wanted was for PFES to be a true military level 3 algorithm it wasn't a true military level 3 algorithm it was a 4 and this was something the CIA wanted changed they wanted PFES to be a true military level 3 algorithm and I agreed because they were so generous when the paid me. We start by adding a counter variable to algorithm so every character is moved indvidually. So if the number is 4 the first character is moved four characters foward then the second character 5 the third character 6 and the fourth character 7 up to the length of the password where it resets to 0. As all the characters are added together to make up the magic number the rotation through that loop is also added to the magic number. This became known as PFES version 3 a military two level algorithm but the CIA were okay with that and they gave me a bonus for that too.

As for PFES version 4 I am not part of that version I don't own the patent on it either. It is important to understand when doing military contracts you don't own the work the client owns the work! You are paid to do the work on the client's behalf you don't own the work! So I don't own milConnect and I don't own PFES either I don't really have any control over them going a different way than I would in dealing with a problem they after all own it I don't. What I do know about PFES version 4 is that they updated it to be a Public/Private Key cryptography. Up until this point it was a Symmetric Key Cryptography which means it uses a password Public/Private key cryptography uses keys not passwords. I didn't really have a problem with that it's just the client decided to use Key-Escrow in that Public/Private Key cryptography. Now it wasn't discussed with me and they don't have to discuss anything with me because it's theirs to do with whatever they wish it's just I didn't agree with the direction they chose to take the algorithm in PFES version 4.