DevToys icon indicating copy to clipboard operation
DevToys copied to clipboard

Base64 encoding of a binary file

Open DanAvni opened this issue 3 years ago • 10 comments

What's the Problem?

Please support base64 encoding of a binary file

DanAvni avatar Jan 30 '22 11:01 DanAvni

l will be happy if hash generator support binary files also.

shishi avatar Feb 02 '22 05:02 shishi

@shishi I made an issue here: https://github.com/veler/DevToys/issues/557

doggy8088 avatar Jun 09 '22 03:06 doggy8088

Hello, There's a Checksum Generator tool that allows to do this: image

veler avatar Jun 15 '22 03:06 veler

@veler please reopen this because the feature is not yet available. The checksum calculator can do MD5 and SHA checksums based on binary files, but it can't do a base64 encoding.

MatthiasSchmalz avatar Jun 17 '22 10:06 MatthiasSchmalz

@veler please reopen this because the feature is not yet available. The checksum calculator can do MD5 and SHA checksums based on binary files, but it can't do a base64 encoding.

You're right. Sorry. Somehow I read hash instead of base64, my bad.

veler avatar Jun 17 '22 15:06 veler

Hi @MatthiasSchmalz , just to make that I understand correctly, are we talking about converting an file into Base64 or generating a checksum of a file in Base64?

veler avatar Oct 16 '23 01:10 veler

Hi @veler , we are talking about encoding. I want the full file content (e.g. of a jpg) in base64 format.
Base64 is an encoding and not a checksum algorithm, so a base64 checksum does not make sense unless I mention the hash algorithm.

MatthiasSchmalz avatar Oct 16 '23 07:10 MatthiasSchmalz

Hi @veler , we are talking about encoding. I want the full file content (e.g. of a jpg) in base64 format. Base64 is an encoding and not a checksum algorithm, so a base64 checksum does not make sense unless I mention the hash algorithm.

Gotcha. That's what I thought but just wanted to confirm since we were talking about checksum at some point. :) Thanks !

veler avatar Oct 16 '23 16:10 veler

Isn't this a small change that would require Base64 Image Encoder to accept any file type?

mau628 avatar Oct 19 '23 01:10 mau628