Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
print it on a aluminium plate and sell it as art series to an art gallery
"No. 1010111, Day 64748, git commit: i hate my job" by Mr. Forside, 3x3 meters, price $ 50'000
"No. 1100101, Day 64749, git commit: Debugging making progress" by Mr. Forside 3x3 meters, price $ 50'000 -
coolq48277yThis is a cool idea. A while ago I thought of the same thing, except works a bit differently.
I'll post it here on DevRant I'd I finish it! -
Forside14597y@PrivateGER Added to my todo list! Will be easy, the original bytes are more or less just copied into the image.
-
Forside14597y@PrivateGER Hah no, didn't want to fiddle around with that. I'm happy it works the way it is for now. Took me a few nights until I got the bmp format structure right.
-
Cyanite85577ySeriously though... I came across this by accident in my firecoder app by encoding as utf-8 and saving as a .bmp. I bet I could do a minor edit to the way saving works (more like a patch) and have it save the encrypted text to an image.
-
Cyanite85577y@Forside
Sadly, I doubt I could use your project (unless it's Python code).
I think I can use this idea, but not in a dedicated way. More as an option. -
Cyanite85577y@Forside
I want to use it for an existing Python project.
Would be easier and cleaner to just rewrite the code in Python.
I know how to do it (I think...)
Like I said, I did it by accident already. -
Forside14597y@Cyanite Ah I see. The code is quite small and should be fairly easy to port though as long as python can handle single bytes well (don't know much about python).
-
Cyanite85577y@Forside
It does. As a byteArray or byte-compatable String.
My utility, Firecoder, is an command-line app for encrypting ascii/unicode text/data into ascii encryptions using procedual cyphers and even user-configurable encryption algorythms(I call them sequences).
Edit before posting: It seems that my encryptions use too many latin characters which remain as characters and not valid bytes after converting to utf-8... -
Ok weird question, if you can convert it back and forth, is it possible that a virus detector might look at the bytes and flag it?
-
Cyanite85577y
-
@Forside say I decided to convert a virus into a bmp. Will an anti-virus detect it
-
Forside14597y@iSwimInTheC Ah, well I don't know how exactly heuristic detectors work, but as the bytes in the bitmap are exactly the same as in the original file, like a malware, just with a little offset, this could totally happen.
-
Forside14597y@stop Eicar is not found inside the image. But even adding one character to the beginning of the text stops it from being detected.
-
Forside14597y@killermenpl Also thought about that, but decided against it, because I wanted each byte to represent a Pixel.
-
Forside14597y@stop Just used Windows Defender. It directly alarmed me when I saved the text file, so that seemed enough. Have nothing else on PC and didn't want to waste more time on that.
Related Rants
As a follow-up to my comment on this rant: https://devrant.com/rants/1029538 I want to share with you my new project: BinToBmp!
It converts any file into a beautiful bitmap image illustrating all bytes as pixels. Each byte indicates an index to a color table (very happy bitmap makes it this simple).
Useful? No. Fun to make? Hell yeah!
Take a look at it on my github page:
https://github.com/Forside/BinToBmp
Download:
https://github.com/Forside/...
Print your favorite song and hang it on the wall or make a shirt from your latest compiled application. So many possibilities!
More infos in the readme.
Updates coming soon :)
P.S.: The image displays the converted jar.
rant
binary illustration
bintobmp
project