Click here to Skip to main content
15,993,913 members

Comments by Member 12181103 (Top 5 by date)

Member 12181103 23-Jun-16 4:20am View    
but then how can i know what is the ip?
like how i set my own ip?
and what about my second problem?
ty for help!
Member 12181103 2-Jun-16 6:16am View    
yes i know but my problem is that i can convert only a string that have a length of 8, to array of bytes so what i can do to make it longer?
Member 12181103 1-Jun-16 16:34pm View    
Ok so what i want to do is to make a program the will encrypt and decrypt text with aes algorithem.
The key a "password" they will choose too help them decrypt it later.
So i searched online and i found what i found but i can do bigger string like: passwords.
Its too long.
There is a certain length i can enter right?
Member 12181103 1-Jun-16 15:11pm View    
http://stackoverflow.com/questions/34343500/why-does-any-length-key-work-for-rijndaelmanaged/34354643#34354643
in the second comment to the question he said its less safer. why?

and in the code that i have: http://pastebin.com/NWj3pi2Y
this is the only length of string that i can do: ggwpgiy2
why?
thank you for you answers!!!!!!
Member 12181103 1-Jun-16 14:34pm View    
i understand i explained my self bad.
i know understand that its not what i taught and i will re ask the questions:
1) why i cant convert a any other string rather than a 8 char long string to array of a byte and use it as my key?
2) why to do like that ^ is less safe than that: https://msdn.microsoft.com/en-us/library/system.security.cryptography.rfc2898derivebytes%28v=vs.110%29.aspx
3) what is the best class and way to use the aes? cause i got those classes:AesManaged , RijndaelManaged , AesCryptoServiceProvider.
ty for answer and for your time!!!!