Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Vb.Net] Pr0t0typ3s String Functions Megathread [Encoding/Cipher/Encryption/Hash]

Great pr0t0typ3 is one Of The Best Coder I Seen In Life
Keep It UP Bro
This is awesome, thanks for sharing. :)
Nice share bro, keep this work up!
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.
This works great mate! really good code mate.
i don't know why but i can't open right the download links..
Spoiler (Click to View)
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 String
  Dim MD5 As New System.Security.Cryptography.MD5CryptoServiceProvider
  Dim Data As Byte()
  Dim Result As Byte()
  Dim Res As String = ""
  Dim Tmp As String = ""
  Data = System.Text.Encoding.ASCII.GetBytes(input)
  Result = MD5.ComputeHash(Data)
  For i As Integer = 0 To Result.Length - 1
    Tmp = Hex(Result(i))
    If Len(Tmp) = 1 Then Tmp = "0" & Tmp
    Res += Tmp
  Next
  Return Res
    End Function

My Md5 Function:
VB
Code
Private Shared Function MD5String(str As String) As String
    Return BitConverter.ToString(MD5.Create().ComputeHash(Encoding.ASCII.GetBytes(str))).Replace("-", "")
End Function
C#
Code
static string MD5String(string str)
  {
    return BitConverter.ToString(MD5.Create().ComputeHash(Encoding.ASCII.GetBytes(str))).Replace("-", "");
  }

This could be applied to nearly ALL of your snippets.
Learn to code before teaching people bad ways of doing shit.
(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
P.S. FUCK YOU ! I can code like 100 times as good as you or were you the first one to have a clean working x64 RunPE
Did have ever done anything to this forum except flaming ? I can't find any usefull thread by you

yah i agree with u dude 👍 ur sources are very usefull
(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 you
And even better said 😉
well theres few problems
but he work
anyway just try to fix it
and stop fleming
Thanks man a very useful share GJ
this is great stuff, thank you for it🤝🤝👍
(Sep 10, 2010 04:05 PM)Rue Wrote:  C#
Code
static string MD5String(string str)
  {
    return BitConverter.ToString(MD5.Create().ComputeHash(Encoding.ASCII.GetBytes(str))).Replace("-", "");
  }

This could be applied to nearly ALL of your snippets.
Learn to code before teaching people bad ways of doing shit.

you are not 100% right, actually, using more lines makes the code much more readable.

this:
Code
static void Main(string[] args)
  {
    int a;
    int b;

    a = 10;
    b = 10;
    Console.WriteLine(10 + 10);
    Console.ReadKey();
  }

compiles to the exact same size as this one:
Code
static void Main(string[] args)
  {
    Console.WriteLine(10 + 10);
    Console.ReadKey();
  }

so it doesn't matter how many lines you use at all, compiler inlines it for you anyway.

if you are inlining all your code like this
Code
return BitConverter.ToString(MD5.Create().ComputeHash(Encoding.ASCII.GetBytes(str))).Replace("-", "");
i pray for you not to make any logical error, otherwise have luck debugging it🤐
This is AweSome Awesome Thank you
Hi!

Thanks for these functions proto' 🙂 !


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by PELockApr 14, 2026 01:15 PM 0 129 Apr 14, 2026 01:15 PM
Last Post: PELock
[The Brotherhood] by HackersApr 10, 2026 02:15 AM 22 2,157 Apr 10, 2026 02:15 AM
Last Post: PELock
by KlonopinApr 10, 2026 02:08 AM 10 645 Apr 10, 2026 02:08 AM
Last Post: PELock