zorke Posted September 2, 2012 Share Posted September 2, 2012 I made a program called "cryptex". Although it has several limitations and severe drawbacks - I think that the security is quite strong here's how it works : The file to be encrypted must be below 0FFFFFh bytes - or 1mb. A keyfile is generated exactly 1mb of size. the keyfile contains FFFFF random bytes. When encrypting - the program loads byte 1 of keyfile and byte 1 of target and it xors. then it moves on to 2 and to 3 ... to the end of the file. Each source byte is xored with a totally different byte from the keyfile. So exactly how secure is this? Thanks note : an early version is included cryptex.rar 1 Link to comment
baguette Posted September 2, 2012 Share Posted September 2, 2012 http://en.wikipedia.org/wiki/One_time_pad 1 Link to comment
quosego Posted September 2, 2012 Share Posted September 2, 2012 Somebody gets the license and its over. Other than that I agree with the above. Link to comment
mudlord Posted September 2, 2012 Share Posted September 2, 2012 Yah, its always the trusting endusers problem...Zorke: Is this the same zorke from Pouet that did those ASM done cracktros? Link to comment
Departure Posted September 2, 2012 Share Posted September 2, 2012 I guess a spin off from that is a license for users machine by using something unique that is on there system to produce the array of byte for the key, this way the file will only decrypt on there licensed uses system... Link to comment
zorke Posted September 3, 2012 Author Share Posted September 3, 2012 @Mudlord : yes it's the same one and this OTP stuff is interesting 1 Link to comment
rendari Posted September 3, 2012 Share Posted September 3, 2012 It's fairly secure in a practical sense, but I wouldn't call it cryptographically secure. For it to be cryptographically secure, the random number generator you are using to generate the stream must also be secure. And designing a secure random number generator is hard, let alone implementing it. Link to comment
asser Posted September 16, 2012 Share Posted September 16, 2012 Thank you, very good program. propose to make optional output ready TinyEXE with the ability to enter a keyword. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now