Questions tagged [base64]

Base64 is a method for encoding data for transfer over the Internet.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Spam useless data in base64-encoded image or data URI

I'm trying to make a payload that works with an image (for better testing purposes for the app I'm creating). I found I can add EXIF data to the image, but when it becomes a data URI it loses a lot of ...
0
votes
1answer
73 views

Bulk convert image-data URIs to images

I have a text file of 391 image-data URIs, one on each line. I need to batch-convert them all to images, named according to their sequence (i.e. image001.png, image002.png or similar). What do people ...
0
votes
1answer
772 views

Decrypting .p7m file

I have a .p7m file that I want to decrypt. It is encrypted with with my ca.pem file. I have my ca.crt, ca.pem and ca.key I tried several methods to decrypt it, for example: openssl smime -verify -...
1
vote
2answers
1k views

How to bulk convert Base64 to images in an Excel file

I have an excel file with 500 rows of image URIs in Base64 (as you can see in the image). I need to convert them to images and download them to my computer. Is there a website/tool/code that can do ...
0
votes
0answers
18 views

How can I re-send an HTML email with embedded images? [duplicate]

I have a system-generated HTML email that includes base-64 images in the content. <img style='display:block; width:100px;height:100px;' id='base64image' src='data:image/...
0
votes
1answer
76 views

Base64 in python3 vs python2

this is my base64 String "lFKiKF2o+W/vvLqddOdv2ttxWSUX/SSZEyqcdyDDb+8=". In python2 the following code works print("lFKiKF2o+W/vvLqddOdv2ttxWSUX/SSZEyqcdyDDb+8=".decode('base64', 'strict')) ...
0
votes
0answers
9 views

Can Lua support Data URLs?

In LUA, you can load HTTP request using Loadstrings, which grab the data from any link. Ive noticed these "Loadstrings" are rather annoying to lookup on the internet due to the large community of "...
0
votes
0answers
21 views

I am trying to login to my Netcomm Router/Modem and the password field is changing to base64 before it sends

I was recently seeing how the property of a family member faces out onto the internet and came across an issue in the netcomm login page. when I enter a password it changes it to Base64 before it ...
0
votes
2answers
309 views

Can I turn Base85 into a data URL? If so how?

I just recently learned of a much much more efficient version of base, called Ascii85 (or Base85) and as seen, it is much more storage efficient than say, Base64 or Uuencode: This is in Base85: ...
0
votes
1answer
427 views

node.js base64 encoding a string yields slightly different results (local vs heroku)

I have done some searching and I gather that the issue may be down to a new line character that is being handled different locally vs on heroku but I am not sure where or how to deal with that. I ...
0
votes
1answer
344 views

How to generate a SHA-256 hash in base64 format from commandline?

How do I generate a SHA-256 hash in base64 format from commandline? I want a piped commands kind of solution.
0
votes
1answer
495 views

How to set Base64 encryption key as Environment (system) Variable on Windows 10

I have an application that connects to BigQuery using multiple creds from .json file. Being that this app will eventually reside on Pivotal Cloud Foundry and will need to be set as User Provided ...
1
vote
1answer
2k views

Derive sha1 hash from openssl binary base64 value

Digital Cinema Packages contain checksums in the following format as described here: $ openssl sha1 -binary 'dcpfile.xml' |openssl base64 IxcfhXNHlw+1bbDFu0kp8KRylpU= How can I take a value such as ...
0
votes
1answer
882 views

YouTube url can't be converted to base64 again

When I tried to encode YouTube url again to base64, the value after = didn't changed except first two letters. Is that already in base64? Url Converted: http://www.youtube.com/watch?v=CvUN8qg9lsk ...
98
votes
2answers
64k views

Why does the base64 of a string contain “\n”?

$ echo -n "apfjxkic-omyuobwd339805ak:60a06cd2ddfad610b9490d359d605407" | base64 YXBmanhraWMtb215dW9id2QzMzk4MDVhazo2MGEwNmNkMmRkZmFkNjEwYjk0OTBkMzU5ZDYwNTQw Nw== The output has a return before Nw==. ...
0
votes
2answers
3k views

how to put an image in an HTML signature for Thunderbird?

How do I get thunderbird to send HTML and an image in a signature? Just wanting to send a red dot in the signature file for as an example. see also: https://stackoverflow.com/q/44481019/262852
0
votes
1answer
149 views

sFTP Encoding in Cleo VLTrader

I want to secure a zip file using Base64 OpenPGP encryption. some application have the option in command line, I wonder if such feature is available in Cleo VLTrader's GUI?
111
votes
2answers
11k views

Why is the size of my email about a third bigger than the size of its attached files?

When attaching data to my emails, I noticed that Thunderbird calculates the total size of the resulting email as much bigger than the files I attached. Here's a recent example: two images, one at ...
5
votes
1answer
3k views

cURL example for accessing authenticated Kraken API

I've been trying to implement a client for Kraken private API (https://www.kraken.com/help/api) and because I've been running into some issues with that, I've been trying to access that same API with ...
3
votes
1answer
9k views

Emails being received in Base64, not being automatically decoded

A lot of agents at my company are receiving emails that still include the Barracuda (spam firewall) header (even in "message" view, not "source" view) and are encoded in Base64. They are being sent ...
0
votes
1answer
1k views

Can I convert the font and SVG to base64 via offline OS X and Linux terminals?

I know how and I can convert the images to base64 via OS X and Linux terminals. But I'm not sure if I can convert the fonts and the SVGs to base64 via offline OS X and Linux terminals. I don't know ...
-2
votes
1answer
3k views

about spaces in base64 encoding/decoding

as it is known that while encoding with base64 encoding method the spaces are skipped but the question is while decoding how they are added back .... ?? consider the following encoding and decoding ...
3
votes
1answer
3k views

How to view html source in Thunderbird when “Content-Transfer-Encoding: base64”?

I press Ctrl+U in the Icedove (Thunderbird), and see plaintext. Last two headers are: Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 and the rest data is encoded. How to ...
7
votes
4answers
638 views

How do I open files sent to me in a 'document envelope'?

I just got an email whose X-Mailer is "X-Mailer: Microsoft CDO for Windows 2000". It has as an attachment a .sgn file, whose content is an XML with one field apparently being a base64-encoded PDF: &...
0
votes
2answers
260 views

Simple way to encode data on flash drive

I have a USB flash drive and would like to base-64 (or similar) encode all the files/folders (recursively) under a certain parent directory on it; let's call it "toEncode". It would be preferable to ...
0
votes
0answers
172 views

Converting base64 encoded database

I have a dadabase whose structure is really simple. <ws> <e> <k>base64_encoded_string</k> <v>base64_encoded_string</v> </e> <e&...
1
vote
1answer
2k views

Type an EOF without a line break

I have a little command that I use to copy/paste files around that involves pasting the base64-encoded tar archive into stdin, but the base64 utility keeps giving me and error message about my input ...
1
vote
2answers
3k views

Hex to base64 on *nix [duplicate]

Note: I have marked this question as a duplicate of another question. But I am keeping it nonetheless as it has an example and a clearly explained answer, so hopefully it should help others. -- I ...
2
votes
1answer
4k views

Mime format message

How to read mime encoded files? We have converted .msg file to .mhtml for better reading without MS Outlook. But we cannot read encoded text in bounced mails. message is as Content-Type: text/html; ...
1
vote
0answers
109 views

android base64 cli conversion utilities

I want to encode a file into android base64. Android's sdk has a utility method that does this. I should be able to avoid doing any Android programming to solve this. There are utilities for windows ...
1
vote
1answer
4k views

Standard Unix tool for decoding base64?

I have variously depended on metamail and munpack in the past, but both of these are suffering from bit rot. metamail has been removed from Debian, and mpack looks like it's about to be removed. I ...
31
votes
2answers
24k views

Why is base64 needed (aka why can't I just email a binary file)?

I was reading up on Base64 encoding, and found this on Wikipedia: Base64 encoding schemes are commonly used when there is a need to encode binary data that needs be stored and transferred over ...
3
votes
2answers
6k views

Can I encrypt a username password combo before using it with cURL?

I'm making a shell script that reached out to a web service with basic auth. I don't want to have to put in my username and password every time the script runs, but I also don't want to have the combo ...
2
votes
1answer
1k views

Batch encode multiple webfont files into a CSS file?

I want to batch encode several .otf font files into a single CSS file. To my understanding, base64 embedded .otf fonts can be read by most browsers. Since Font-Squirrel's @font-face generator doesn't ...
5
votes
7answers
36k views

Decoding base64 images and saving to a file

I need to save a few base64 images from a web page to actual GIF and JPEG files on my hard drive. Is there a utility out there that can assist me? I've looked around and either I'm not seeing one or ...
1
vote
1answer
3k views

How move files through text (base64, etc)?

Why don't these work when trying to copy a file from one location to another? 1) Base64 encode the file at source, write (binary or ascii) base64 decoded at destination. 2) Open file in notepad, ...
14
votes
3answers
16k views

How can I extract an attachment from the email body (encoded as base64)

How can I extract attachments from an email when they arrive encoded in the body of the email like this: ------ =_NEXTPART_FORMSCAPE_MAIL_message101122101615 Content-Type: application/octet-stream; ...
31
votes
3answers
28k views

How can I convert from hex to base64?

Can anyone recommend a straightforward way/tool to convert hex to base64? I'm using Linux and OS X.
267
votes
17answers
272k views

How to encode base64 via command line?

Is there a terminal command in Mac OS X which will base64 encode a file or stdin?