Posts

Showing posts with the label php

EasyCrypt

EasyCrypt for JavaScript EasyCrypt is a port of an encryption algorithm developed in college. It’s by no means the best or most ideal means of encryption (at least not when compared to RSA, AES, SHA1, Blowfish etc), but it’s a basic encryption algorithm developed for simply showing students and adults alike how to go about writing their own encryption algorithm. The encryption algorithm is equipped with a encrypt/decrypt function. EasyCrypt is a substitution cipher (like ROT13 a simple variant of the Caesar Cipher used by Julius Ceasar to communicate with his generals) The code that will be shown below has the following configuration. Customization var shift = 3 ; var cipher = "@)*%/~^!?z" ; Notice the shift value of 3, which simply means that when the value is converted to character code move it 3 values up. e.g. 72 (H) would be 75 (K). The cipher is used to obfuscate/encrypt the entered text making it useless to an intruder or person with...