Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › Text Encrypter and Decrypter

SmileText Encrypter and Decrypter

Posts 1–4 of 4 · Page 1 of 1
rileyjstrickland
rileyjstrickland
Text Encrypter and Decrypter
I was bored one day after school, so I decided to write an encrytion and decryption program. It took around 45 minutes to complete. It's pretty straight forward to use.
The source code is posted, and the solution is attached.
Enjoy MPGH!
Code:
Public Class Form1
    Dim coffset As Integer = 0
    Dim offsets As Array
    Dim intvector As Array = {1, 25, 50}
    Private Sub setintvector()
        coffset = 0
        offsets = TextBox3.Text.Split(",")
        intvector(0) = NumericUpDown3.Value
        intvector(1) = NumericUpDown2.Value
        intvector(2) = NumericUpDown1.Value
    End Sub
    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        setintvector()
        TextBox2.Text = String.Empty
        For Each ii As Char In TextBox1.Text
            Dim ascval As UInt64 = (Asc(ii) + intvector(1))
            intvector(1) = intvector(1) + offsets(coffset)
            coffset = coffset + 1
            If coffset >= offsets.Length - 1 Then
                coffset = 0
            End If
            If intvector(1) > intvector(2) Then
                intvector(1) = intvector(0)
            End If
            TextBox2.Text = TextBox2.Text & ascval.ToString("X2") & "-"
        Next
        TextBox2.Text = TextBox2.Text.Remove(TextBox2.Text.Length - 1)
    End Sub

    Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click
        setintvector()
        TextBox1.Text = String.Empty
        Try
            Dim enctext As String = TextBox2.Text.Replace("-", String.Empty)
            Dim bytes As New ArrayList
            While enctext = "" = False
                bytes.Add(Chr(("&H" & enctext.Substring(0, 2)) - intvector(1)))
                enctext = enctext.Remove(0, 2)
                intvector(1) = intvector(1) + offsets(coffset)
                coffset = coffset + 1
                If coffset >= offsets.Length - 1 Then
                    coffset = 0
                End If
                If intvector(1) > intvector(2) Then
                    intvector(1) = intvector(0)
                End If
            End While
            For Each item In bytes
                TextBox1.Text = TextBox1.Text & item
            Next
        Catch ex As Exception
            MsgBox(ex.Message)
        End Try
    End Sub
End Class
Virus Total
Jotti

Enjoy!

Rep/Thank if you like this.
EncryptionThingy_mpgh.net.zip
#1 · edited 13y ago · 13y ago
Drinking Water
Drinking Water
Im new to this decrypt ecrypt thingy. So this means i can crack .jars?
#2 · 13y ago
'Bruno
'Bruno
Approved, but re-uploaded the .sln without binaries.
#3 · 13y ago
papadoo
papadoo
Very interesting..
#4 · 13y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • [VB][Release] Text EncrypterBy CoderNever in Visual Basic Programming
    2Last post 16y ago
  • [Help] Setting Text Bold And Current StyleFontBy T0P-CENT in Visual Basic Programming
    6Last post 15y ago
  • Error Elite Encrypt.. and no hacks work.By 48Aces in Combat Arms Help
    4Last post 15y ago
  • Custom Classes: DX.h (text, boxes, circle, text highlight and more)By supercarz1991 in Combat Arms Hack Coding / Programming / Source Code
    4Last post 14y ago
  • Simple Text EncryptionBy Defcon 1 in C++/C Programming
    8Last post 14y ago

Tags for this Thread

None