c# - AES encryption with BouncyCastle: AESEngine, AESFastEngine OR AESLightEngine? -
I want to close this simple Java instance ...
-
As I have understood, Java encryption uses AESGen for encryption / decryption operation. What is the difference between AEESGen and AESFastAgean and AESELEEZEN? Unfortunately I do not understand the information given in the document:
-
I want to use a new encryption key for every encrypting file. AESCCC, AES. Cfb, AES.CBB or AES.OFB
-
Is my belief that in my case I do not have to use iv / salt for (which means that I have Using a stable iv ?) Since I use AES. For key generation and use it only once? Hope
Hope that my questions do not cause much confusion ;-) But I appreciate every answer, clarification or feedback.
My reading of a doctor says that AESEG, FASTENGEN and Light Engine do all the different businesses.
-
Memory versus Speed To determine you, you must check yourself whether in your scenario These tradeoffs are also relevant or not.
-
You will need to read on various AES modes under different circumstances, there are different strengths and characteristics, depending on your scenario, more or less may be applicable or desirable. May be. So the answer to your question is "It depends."
-
No, you will need an IV as far as salt is concerned, usually working with passphrase to generate the actual encryption key and IV through PKBDF 2 is done. It is outside the scope of AES, but it is a normal use.
In the end you did not ask, but .... why are you knocking that code to C #? There is AES encryption built in .NET. You do not need some ports, you can use only the Net Base Class Library. Ensure that you use the same keybinding and mode, and make sure that your key is equal to iv on each side, and .NET Bcl AES classes interoperate with bounce castle goods for J2ME.
-
Comments
Post a Comment