Computer Science Canada un-crackable encyrption? possible? |
Author: | acc_minion [ Wed Nov 26, 2003 7:22 pm ] | ||
Post subject: | un-crackable encyrption? possible? | ||
Hello, I am trying to make a program that will encrypt and decrypt, I have the very basic encryption found on this site; EDIT: line <put "Word to Encrypt: " ..> to <put "Word's to Encrypt: " ..>
However, I need this as a very complex version of the chr (ord ...) command taht will encrypt a letter into binary and then flip the binary code, then I need to be able to decrypt that code. ie: Enter word: blahblah Word Encoded: 100110101010101 (or what ever) ;then; Enter Coded Word: 100110101010101 (or what ever) Word UnCoded: blahblah Is this actually possible? |
Author: | Mazer [ Wed Nov 26, 2003 8:06 pm ] | ||
Post subject: | |||
ok... try this note that it is necessary to return the value of encrypt as a string in order to keep any 0's at the beginning of the binary representation of a character's ascii value, which means any string you want to encrypt can't be more than 31 characters long. so if you're trying to encrypt the contents of a file, just make sure the information is stored on lines of less than 32 characters.
gosh, that was fun. let me know if there's anything you don't understand about that code. |
Author: | Andy [ Thu Nov 27, 2003 11:58 am ] |
Post subject: | |
what you can do is have a random increption... the first thing you do is read in a random number, which you use to read every nth character of your encreption, then decrypt that using a mazer's encryption. now use that to find a number of other encryptions. and put ur key on every nth character. if ppl try to use your normal encryption method to decrypt your code, it wont work cuz of the nth characters. it'll mess it up completly. if they use mazer's idea, it wont work either. |
Author: | Dan [ Thu Nov 27, 2003 3:57 pm ] |
Post subject: | |
you could allways make PGP for turing PGP's ecription has yet to be broken and the code is aviable on the net for free. also if you are giving out the scorce code for you progame poleop will be ablae to get passeted your encription b/c they will know the key worad or sequcen to decripted it. |