How Secure is a Text Encryption Program Created with Visual Basic?

Click For Summary
The discussion centers on the security of a self-created text encryption program developed using Visual Basic. The encryption method involves appending a random number between 10-99 to the beginning of messages, resulting in various encrypted outputs for different inputs. While the creator is curious about the security of this method, responses indicate that it is likely not secure. The encryption appears to rely on "security through obscurity," meaning it may only be secure because the method is not widely known. Experts suggest that a skilled cryptanalyst could potentially crack the encryption, especially if they have access to enough encrypted text examples. Modern cryptographic standards require that even if the encryption method is known, recovering the original message should be infeasible without a secret key or solving complex computational problems.
niko421
Messages
1
Reaction score
0
I taught myself to program a bit in Visual Basic. A while ago I made a text encryption program using my own methods and I was wondering how secure it would be.

It uses a random number between 10-99 in the encryption process. The number is appended to the beginning of the message.

For example:

'A' can encrypt to: '33k' '34k' '83p' '11i' etc..
'B' can encrypt to: '44m' '97r' '59n' '70p' etc..
'AAA' can encrypt to: '86j6V' '81j@V' '58g2M' etc..
'Hello' can encrypt to: '60id{kŠ' '48gTuK€' '19dRlGq'

How secure would encryption like this be? Every one of the examples decrypt properly to the original message using the program.

I'm just curious, any feedback from anyone who knows about this kind of thing would be awesome. Also, if its easy to crack, try to decipher the following coded message:

'69]ý†¨;³Gʘ§«*ÄBÅuÈb`êùí1¿Ëóó8ÒB{I®\Ÿc‰ ‚r!}]‡O©;°"·‚´´êÍÞãѤ²ÿ¬¼‰‰,i3[;G;^Ûbb}î„áB{¸¤¬y]‚'
 
Technology news on Phys.org
Realistically... very unlikely to be secure at all. I couldn't crack it but there are various methods by which someone actually skilled in cryptanalysis just about certainly could, assuming that they had any meaningful amount of encrypted text to use as examples.

Crypto these days is considered to be secure basically only if even if you know exactly how the encryption method works, you can't recover the original message without either possessing a secret decryption key or solving an "intractable" computational problem. Your thing sounds like it's closer to an example of "security through obscurity", something which is secure only because nobody knows the secret method you used in your VB program. But there's a lot of research into ways of uncovering such methods by looking at ciphertext only...
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...