![]() |
|
[.NET] [Vb.Net] Pr0t0typ3s String Functions Megathread [Encoding/Cipher/Encryption/Hash] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [Vb.Net] Pr0t0typ3s String Functions Megathread [Encoding/Cipher/Encryption/Hash] (/showthread.php?tid=668060) |
* - 6e756c6c - Sep 10, 2010 You should use Encoding.UTF8 instead of ASCII/Default. ASCII only supports the first 128 characters while UTF8 supports all 255 and it's backwards compatible with ASCII. I also noticed you have an implementation of RSA which needs to be worked on actually since it's a public/private keyset.. but that's not what I wanted to talk about. Before 100 people start using it in their crypters it should be noted that RSA should only be used with very small amounts of data - such as a key for a symmetric encryption. I have a video explaining asymmetric encryption if anyone is interested (was sick when I recorded it), here's a link. http://www.youtube.com/watch?v=Wy5HuZlv9gY * - pr0t0typ3 - Sep 10, 2010 (Sep 10, 2010 05:40 AM)Aeonhack Wrote: You should use Encoding.UTF8 instead of ASCII/Default. ASCII only supports the first 128 characters while UTF8 supports all 255 and it's backwards compatible with ASCII.I'll update that later thank you * - Cyberworms - Sep 10, 2010 Hello, i cant get the link to work :S... i have try in Firefox, IE, Chrome. Can you please upload to Some other site? etc Mediafire or something. * - Krex Productions™ - Sep 10, 2010 This works great mate! really good code mate. * - ubbelol - Sep 10, 2010 I think you got something wrong there with your ROT13 function Code Public Function ROT13(ByVal input As String) As StringYou should take a look at this ROT13 function (encoding), not by me btw Code Public Function ROT13Encode(ByVal InputText As String) As String* - pr0t0typ3 - Sep 10, 2010 (Sep 10, 2010 11:37 AM)UbbeLoL Wrote: I think you got something wrong there with your ROT13 functionThat is possible.... I just used Xor as it will also rotate by 13 but it is easier to code/reverse P.S. I'll later post my Polycipher which is a simple Cipher String which returns Unique results each time but : They are only made of readable ascii values (33 - 255) so you can see them and use them in strings or what ever * - wyterzzz - Sep 10, 2010 i don't know why but i can't open right the download links.. Spoiler (Click to View) * - Rue - Sep 10, 2010 You got some really bad coding practices Prototype. A lot of unnecessary stuff like declaring temp vars and not really making use of the .net framework. For example your md5 function: Code Public Function MD5Hash(ByVal input As String) As StringMy Md5 Function: VB Code Private Shared Function MD5String(str As String) As StringCode static string MD5String(string str)This could be applied to nearly ALL of your snippets. Learn to code before teaching people bad ways of doing shit. * - 6e756c6c - Sep 10, 2010 That's not nice Rue, your code has flaws in it too... like using ASCII encoding or defining an entire string for a single character. I'm not saying you are wrong, but you could be a bit more considerate with your criticism. :( * - pr0t0typ3 - Sep 11, 2010 (Sep 10, 2010 04:05 PM)Rue Wrote: You got some really bad coding practices Prototype. Edit: You are right but you are still a skiddish flamer and I hate you... You know exactly that what you said it not correct (about me not my code) and I hope you know that and remove it * - rapidguide - Sep 11, 2010 (Sep 11, 2010 01:51 AM)pr0t0typ3 Wrote: Lol are you kidding me ? I tried to do smth. for this section and posted Source codes and everything you have to tell me is that I can't code because I used 6 lines more then you ? You should really think about what you post before you do it... Your code isn't perfect and I USE the .net Framework .. My Code is easier to understand and could be merged without any problems to like 3 lines but hey : In my code you can see what happens and understand it .. I coded this version for debugging and not for a final Application.. It is only a example how to do it yah i agree with u dude 👍 ur sources are very usefull * - Neroxan - Sep 11, 2010 (Sep 11, 2010 01:51 AM)pr0t0typ3 Wrote: P.S. FUCK YOU !Well Said (Sep 11, 2010 01:51 AM)pr0t0typ3 Wrote: I can't find any usefull thread by youAnd even better said 😉 * - pr0t0typ3 - Sep 11, 2010 (Sep 11, 2010 03:33 AM)~WyldeChylde~ Wrote: Well SaidI can't tell you how glad I'm that I'm not the only one who thinks so Thank you bro * - pr0t0typ3 - Sep 11, 2010 I would highly appreciate constructive criticism and it is possible that my code is coded ugly and uses unnecessary vars but that is no reason to f**king flame my thread and tell me that I can't code.. If Rue would have posted it as a criticism and not a flame I would quickly fix the problems and thank him but this ways he is now just hated by me * - no1me - Sep 13, 2010 well theres few problems but he work anyway just try to fix it and stop fleming |