Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [base64]

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

0
votes
1answer
103 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
33 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
145 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
678 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
292 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 ...
0
votes
0answers
42 views

Why do I have base64-encoded usernames in Keychain Access?

It seems like every website I go to, Safari autofills my username as some long string that's obviously base64 encoded since it's padded with a few = at the end. The passwords associated with these ...
66
votes
2answers
20k 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
2k 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
128 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?
112
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 ...
4
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 ...
1
vote
1answer
4k 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
803 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
2k 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
2k 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
473 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
237 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
168 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
2k 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
3k 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
99 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
3k 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 ...
27
votes
2answers
21k 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
991 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 ...
4
votes
7answers
30k 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
2k 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, ...
11
votes
3answers
13k 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; ...
23
votes
3answers
21k 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.
183
votes
16answers
168k 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?