Questions tagged [base64]
Base64 is a set of encoding schemes that represent binary data in an ASCII string format.
base64
11,289
questions
-1
votes
0
answers
16
views
How to store long number as 64 bit encoded value in Bigtable?
When using readModifyWrite method to increment a number it throws exception the value must be stored as 64 bit encoded signed integer in Java. How to store it as 64 bit big endian? I tried ...
0
votes
0
answers
20
views
How to validate ECDSA signature generated by Yubico HSM using C#?
Our software uses pieces of data generated using a Yubico HSM (hardware security module) and signed using EDCSA with a private key on the HSM. I want my C# code to be able to validate these signatures ...
0
votes
0
answers
21
views
Base64 encoded SHA1 Binary in Azure Logic App
I am trying to get an Azure logic app to perform a service authentication against one of our providers' servers. The authentication algorithm is simple enough, javascript based, but they are expecting ...
0
votes
0
answers
37
views
Display and Extract image coming from backend in base64 format and Displaying it on screen
<Label
FontSize="14"
LineHeight="1.43"
Text="{Binding CurrentQuestion.Question, Mode=TwoWay}"
TextType="...
0
votes
0
answers
58
views
Base64 Conversion Error in DART of GitHub API
I am using the GitHub API to fetch the README of my repository. The content of the README comes encoded in base64. When I try to decode it in Flutter/Dart, I encounter a FormatException: Invalid ...
0
votes
1
answer
91
views
Same encryption algorithm in c# and java produces different output
I have C# code to encrypt password. I want to convert it to java. The converted java code produces different encrypted string than c#.
What can i do so that output is same for both java and c#.
...
-4
votes
0
answers
63
views
How to use base64 to encode a script in python? [closed]
I'm trying to encode a full python script into base 64 using the base64 package. I've been trying to find resources on this but everything I've seen is just about encoding a string. I tried following ...
0
votes
0
answers
10
views
File sent via multipart/form data was received as base64 string
I could send an image file sucessfully using Swagger or Postman where I could upload the file from the local machine. However, when I need to send a file that is saved online, I need to compose the ...
1
vote
2
answers
54
views
Retrieving image as base64 from Meta Graph API
I uploaded a photo via WhatsApp, which can be accessed via:
https://graph.facebook.com/v19.0/{imageId}
Requesting this API returns the URL of the image:
{
"url": "https://lookaside....
0
votes
0
answers
26
views
Base64 encoded MIME email fails
I'm trying to send email using Power Automate and the Graph API in MIME format. If I encode the email externally, it works fine but if I encode it using the encode64 function in Power Automate it ...
0
votes
0
answers
31
views
Invalid Padding when using b64.b32hexdecode
I get this:
binascii.Error: Incorrect padding
When using b32hexdecode in the last for loop in my decrypt function.
Here is my code:
from cryptography.fernet import Fernet
import base64 as b64,random ...
1
vote
0
answers
63
views
Invalid Token error when using Fernet(Python)
I'm writing a simple encryption/encoding program using base64 and fernet, but when decrypting fernet keeps raising an Invalid Token error.
Here is the code:
from cryptography.fernet import Fernet
...
-1
votes
0
answers
15
views
Hidding third party domain url of images from my html pages
I'm trying to optimize my websites to avoid Google Ads Suspensions. One of the recommendation is to not have any url in the html pages that are not related to google or to the domain itself.
In my ...
0
votes
0
answers
26
views
Binary Audio data into .wav Format
I am working on a React-Flask project where I am sending recorded audio file as Base64 to flask. I'm converting this Base64 to Binary and writing in file which I later on want to serve to frontend ...
1
vote
1
answer
61
views
In SQL Server, can I get data from XML compressed in ZIP/RAR file saved as VARBINARY
I have a table column contains VARBINARY (data like 0x...) [Column name is LDATA]
I just want to be simple to be understood.
The software puts in LDATA column a ZIP/RAR contains one XML file.
To reach ...