Data encryption
-
Hello people! If i want to encrypt some data based on a key (password) and want to keep the encryption as irreversible without the key as possible (yeah, i know, that's the point), which algorithm would you recommend? The data itself would mostly be text and only 1-2 megabytes tops, so if the choice is between safer or faster, i'd choose safer. Thanks for your oppinions.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
Hello people! If i want to encrypt some data based on a key (password) and want to keep the encryption as irreversible without the key as possible (yeah, i know, that's the point), which algorithm would you recommend? The data itself would mostly be text and only 1-2 megabytes tops, so if the choice is between safer or faster, i'd choose safer. Thanks for your oppinions.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
For encrypting that much data (1-2 MB) you must use any symmetric algorithms like RC2, RC4, or Data Encryption Standard (DES)
-
For encrypting that much data (1-2 MB) you must use any symmetric algorithms like RC2, RC4, or Data Encryption Standard (DES)
Thank you, i will check these out.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
Thank you, i will check these out.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
Don't use DES any more! Its not safe because the key is only 56 bit long. You can "hack" it, with some good machines in under a day! Use AES (128-256 bit) (Advanced Encryption Standard) or maybe, if AES not available, 3DES instead.
Greetings Covean
Btw are these freely usable?
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
Btw are these freely usable?
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
In .NET there are some crypto provider you can use for "free" for example 3DES / TripleDES. .NET 3.5 also introduced AES. I don't know if there are also libs for C++ but I can't imagine that there aren't some in the internet (for free). If you don't find anything about AES look for Rijndael its the same algorithm.
Greetings Covean
-
In .NET there are some crypto provider you can use for "free" for example 3DES / TripleDES. .NET 3.5 also introduced AES. I don't know if there are also libs for C++ but I can't imagine that there aren't some in the internet (for free). If you don't find anything about AES look for Rijndael its the same algorithm.
Greetings Covean
Thank you very much.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
Thank you very much.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <