3 ms·
Not knowing much about the encryption used, would it end up using extra characters over a normal tweet?
by untog 11y ago
Not knowing much about the encryption used, would it end up using extra characters over a normal tweet?
- dewey 11y agoNo, it's just taking up the space used to post an image. Here's an example tweet: https://twitter.com/shazow/status/605748307688890368 https://twitter.com/shazow/status/605748307688890368
- untog 11y agoHuh. Surely there's a better way to do that than post text in an image? Even just using pixels to encode the text.
- dewey 11y agoI don't think it's a serious suggestion. It's just a fun hack.
- untog 11y agoOh I know. But I can still want hacks to make the most efficient use of space :)
- Lukasa 11y agoSo you can't do a direct 1-to-1 mapping of pixels to bytes, because Twitter re-compresses the image. You cannot rely on the binary representation of the image to make that work. However, there are plenty of other, less funny, options, like QR codes or High Capacity Colour Barcodes.
- wongarsu 11y agoThe resulting message should be much larger than just 140 characters, mostly because it's not only encrypted but also signed with GPG. It appears that this problem is solved by creating an image with the encrypted text and adding that image to the tweet. The decryption uses a simple character recognition algorithm to read the message back from the image.