r/learnpython • u/Nothingbutalsosome • Oct 09 '26
any cybersecurity guy who can decrypt this:
1 13.14.1 4.20.14.19.7.9.1.14 14.15 8.5.20 5.5.22.18.5.9.1.18.7.4., 7.14.21 9.14 8.9.19 4.8.1.14 16.20.14.9.15.14.7.9 20.15 8.9.19 4.....5.8..1...
above is the encrypted text i encrypted by a python program i wrote, the text is just a query i want from technerds to get the idea of how safe(encrypted) is my text would be.
1
u/Nothingbutalsosome Oct 10 '26
could you guys edit it yourself and make it more complicated? if you would then plesase send me the code
3
u/Expensive-Bear-1376 Oct 09 '26
Is the link in there intentional?
5
u/socal_nerdtastic Oct 09 '26
I doubt it, I think the reddit fancypants editor auto finds things that look like links, in this case like IPv4
2
u/Dancing-umbra Oct 09 '26
Is it just each letter is directly substituted for its position in the alphabet and then anagrammed?
1
1
u/JamzTyson Oct 10 '26 edited Oct 10 '26
i want from technerds to get the idea of how safe(encrypted) is my text would be.
It is not very safe. We can get quite a long way towards decoding via simple substitution.
These words stand out:
MAN
STANDING
RIVEREDGE
POINTING
Figuring out how to descramble the words takes a bit more effort, but the more data that's available, the easier decoding becomes.
Now that we have played along, are you going to give us the solution? Show the code for your cypher?
1
0
u/xaomaw Oct 09 '26
A man ... on the ... in his hand ... to his head
So I think it should be A Man With His Head In His Hands
2
u/Nothingbutalsosome Oct 09 '26
nope close but not there
3
u/Boothiepro Oct 09 '26
a man standing on the _ gun in his hand pointing to his head
1
u/Active-Mortgage7244 Oct 09 '26
River edge. Your text took about three seconds to reverse, so no, its not safe.
1
u/xaomaw Oct 09 '26 edited Oct 09 '26
A man standing on the river edge, gun in his hand, pointing to his head
2
u/Expensive-Bear-1376 Oct 09 '26
How do you guys get river edge? Where did the "a" go?
0
u/xaomaw Oct 09 '26
Brute forcing
1
u/Expensive-Bear-1376 Oct 09 '26
But where did the "a" go?
1
u/xaomaw Oct 09 '26
Boy, you asked 2 questions. I answered the first one.
Maybe the a is an uninteninal error or an intentional decoy.
1
u/Expensive-Bear-1376 Oct 09 '26
If we're assuming an error or "decoy", I'm sticking with "graveyard".
0
0
5
u/HSNubz Oct 09 '26
A man standing on the river edge, gun in his hand pointing to his head.
1
u/Nothingbutalsosome Oct 10 '26
Can someone tell me exactly how they did this
1
u/Expensive-Bear-1376 Oct 10 '26
So "river edge" is correct? And could you now please show us your code?
1
u/HSNubz Oct 10 '26 edited Oct 10 '26
I just threw it in ChatGPT to solve, lol. But to that end, I would call this encoded text, not encrypted text. If this were encrypted, ChatGPT wouldn't be able to solve it in about half a second flat :-)
So to your main question, completely unsafe. There is a saying, "don't roll your own crypto," and it exists for good reason. Mainstream accepted cryptographic algorithms have gone through extensive testing and been mathematically proven by mathematicians and organizations to be secure. People and places that create their own crypto are almost always popped.
But definitely play with creating your own, just don't ever use it for anything real or important :-)
0
u/xdhaharoflmfao69420 Oct 09 '26
A man standing on the river edge, gun in his hand, pointing to his head.
1
1
u/Nothingbutalsosome Oct 10 '26
okay here's the code: