Sickgen
  • Announcements

    • Virus

      GLOBAL RULES, MUST FOLLOW!   01/01/2018

      Being an open community - "For the people, by the people!", we have to keep our rules strict to avoid deterioration of our forum.   Please, from this day onward, closely follow these rules in ALL* the sections during your share at all times to dodge the ban or your account termination.   What we are expecting from our members.   Section I - Treat other members with the respect they deserve. This should go without saying, but treat others like you would like to be treated ! The forum language is English only! Please only post in other languages in Private Messages. Please do not spam. The definition of spam is an irrelevant or advertising post. Any post considered spam will be removed. Please do not post threads text in all Uppercase since this is considered to be shouting and is not necessary. Please refrain from posting images larger than 800 in width. This is considerate to members with slow internet speeds, and keeps the forum looking tidy. Using red text is forbidden. Only moderators and administrators may use this. Insulting and flaming or personal attacks against forum staff will be not tolerated. Please be considerate in language you use on the forum, some of our members are younger than others. Swearing directly to someone who pissed you off is allowed but don't go towards their parents or relatives and such! Any means of attack to discard our performance or data is strictly prohibited. Please do not post inappropriate material, I think everyone understands what I mean by this. The policy goes that if you would not feel comfortable viewing it at work. Any type of DOXing is strictly prohibited and will lead to a permanent ban. If you in anyway threaten or in a very bad way disrespect staff of Down Full they are allowed to ban you without notice. No ad links. No url shortener like adfly and others. You must read the help documents regarding the full forum rules. NO generators are allowed, even the free ones, if paid ones, post it in the seller's section. NO carding allowed, strictly prohibited and instant banned if found doing so. You must add a Virustotal link when you add a tool or something like that. Absolutely no begging for money. As long as you are not in Marketplace, you are not allowed to ask for money.
      Section II - When you share any sort of accounts, whether it be dumps OR merely less accounts (1-5/thread), make sure the dump or the combo is directly linked in the thread. We allow various bins for you to use, post it directly in the thread in combination to Hidden Code > Code tags > Your combo/dump. If you are found advertising or advertising a third party website with a misleading thread title, your account shall be banned/terminated with no response for ANY* sort of question asked prior to the ban. Example - 300 x Origin Accounts, hidden content, cool, you unhide the content, you find 1 link in there, another website, REPORT that thread, with anger & with rage. What the thread title is, the content must be related & should* be there. Please refrain from requesting in shoutbox, no marketing talks, no asking for configs and such, it is just fucking annoying. We wish not to tolerate spams, advertisements and trolls in our forum and rigorously defy them with our knowledge & extent. We do NOT* care if you are a donator or not, you must contribute in a way, not as much as other ranks who have* to prove their contribution but anything matters. We can ban donator's account if our staffs feel like you are leeching, lifetime upgraded accounts shall hold no validity afterwards. If you see any misleading title with fucked up, bullshit content, report the thread with the reason, "Misleading Title & Content", leave the rest to us. What you do in this forum, stays anonymous unless you decide to publicize your information, worry not, we do not publicize your information NOR* your indulgence in this community. I care very much about this community as I feel responsible, hope each and every members who have had success in finding the things you found and wish to be found, help us keep this community clean is all we are asking for. It is as good for you and as good for me. Mutual benefit is what I, personally am looking for.
      Enjoy your stay, keep your little brain updated with the rules, keeps your account safe.
    • Virus

      New Project for Hacking Leaks is Coming...   08/08/2018

      More details soon...
Sign in to follow this  
Followers 0
Xoda

.NET Basic Encryption

2 posts in this topic

In this tutorial, I will be teaching you the basics of encryption in VB. So lets jump right in.

 

Design:

Create a project.

Add a textbox and name it TB_input

Add another textbox and name it TB_output

Add a button and name it encrypt

add a button and name it decrypt

Code:

 

First we will begin our encryption function. but first include the following imports:

Hidden Content

    Reply to this topic to see the hidden content.

Now we need to set up a few variables.

Hidden Content

    Reply to this topic to see the hidden content.

Now we need to make our MD5 hash providing function. This will hash our "key".

Hidden Content

    Reply to this topic to see the hidden content.

And our encrypt function.

Hidden Content

    Reply to this topic to see the hidden content.

That is all! You can now double click your encrypt button and add this code.

Hidden Content

    Reply to this topic to see the hidden content.

Now it will encrypt our text! You can test it out so far. Now is time for decryption.

Hidden Content

    Reply to this topic to see the hidden content.

And its as simple as that! Now all we have to do is implement that function. Double click our decrypt button

Hidden Content

    Reply to this topic to see the hidden content.

Keep in mind that this a a very simple encryption method, and is VERY unsafe. It should never be used in a professional setting, and private key method is also risky. (Consider using AES instead of DES for more safety and SHA-256 instead of MD5)

Explanations:

MD5Hash Function:

A hash is a algorithm that can ONLY be encrypted, not decrypted.

Take this string, "Hashing". Pretend our string is going to be put through a car wash. This car wash could be a lot of different washes of different speeds and how good it cleans. The car wash is our type of hash. Ours is MD5. Once a string is hashed, it can never be un-hashed. So we take our "key" and hash it.

Hashing - > MD5 "Car Wash" -> befd1ea261d11ae5ba4f3f0363313c52

Now our string "Hashing" has been turned into a long string of letters and numbers. This is undo-able (Well, it is, but that is a whole tutorial on itself).

Encrypt Function:

First thing we do is input the hashed key as our encryption key. Now our encryption method "DES" is one of many different methods. Encryption is just like hashing, but it can be undone, but only with our special key (Not really, but again a whole other tutorial for a different forum). We then set what method it is going to use (this is very complicated, just know it is how it does the encryption). Then we change our string into pure bytes. Those pure bytes are plugged into the DES encryptor, which gives us encrypted bytes, Which we convert back into a string.

Decrypt Function:

Same as encrypt, just in reverse.

Hope you enjoyed! (I typed this all by hand so let me know of any errors)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0