zorke Posted September 2, 2012 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
baguette Posted September 2, 2012 Posted September 2, 2012 http://en.wikipedia.org/wiki/One_time_pad 1
quosego Posted September 2, 2012 Posted September 2, 2012 Somebody gets the license and its over. Other than that I agree with the above.
mudlord Posted September 2, 2012 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?
Departure Posted September 2, 2012 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...
zorke Posted September 3, 2012 Author Posted September 3, 2012 @Mudlord : yes it's the same one and this OTP stuff is interesting 1
rendari Posted September 3, 2012 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.
asser Posted September 16, 2012 Posted September 16, 2012 Thank you, very good program. propose to make optional output ready TinyEXE with the ability to enter a keyword.
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