Crypto Algorithm Question - Encrypted file is bigger
Discuss Encrypted file is bigger in the Security and Cryptography forum on Dev Shed. Encrypted file is bigger Security and Cryptography forum discussing issues related to coding, server applications, network protection, data protection, firewalls, ciphers and the like.
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.
Posts: 6,459
Time spent in forums: 1 Month 2 Weeks 4 Days 3 h 8 m 59 sec
Reputation Power: 6144
I recommend using TrueCrypt instead. The majority of weaknesses in encryption are caused by implementation mistakes, and it doesn't sound like your encryption program is implemented correctly.
Posts: 5
Time spent in forums: 1 h 38 sec
Reputation Power: 0
Quote:
Originally Posted by E-Oreo
I recommend using TrueCrypt instead. The majority of weaknesses in encryption are caused by implementation mistakes, and it doesn't sound like your encryption program is implemented correctly.
you mean that it is cause by the mistake in source code?
Posts: 6,459
Time spent in forums: 1 Month 2 Weeks 4 Days 3 h 8 m 59 sec
Reputation Power: 6144
Quote:
Ok, for further investigation, i can deliver a source code in PM.
To be perfectly straightforward, I'm not going to check the source code to see whether it is correct, sorry. It would simply take me too long to do that. It has been several years since I last implemented the RSA algorithm, and I probably am not familiar with the programming language in which the code is written.
If your friend is not skilled enough to tell you whether the code is correct or not, then you shouldn't trust them to write an encryption program. If you don't trust your friend to tell you whether it is correct or not, then you shouldn't trust them to write an encryption program.
There are very few good reasons to make your own implementation of RSA. All major programming languages have standard, trusted libraries that can perform RSA encryption correctly and securely. Ask your friend to use those instead of implementing their own.
My observations about the correctness of your friends program is based solely on my experience with TrueCrypt. In TrueCrypt, I can create a 10MB container volume and put 9.74MB of data into it. So there is some overhead, but it's not very significant.