2,007 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
1
vote
2
replies
64
views
get digest of saved docker image (the saved .tar file)
tl;dr Given a docker image that was saved to a local file, e.g. /tmp/my-image.tar, how do I determine the image digest (SHA256 checksum) that will match what docker expects?
Given that I save a docker ...
1
vote
1
answer
89
views
Azure container app crashing while computing hash for large files
I have a piece of code deployed in Azure Container Apps that primarily copies the file from the staging Azure blob storage to the final Azure blob storage and computes the SHA256 hash.
However, I have ...
-1
votes
1
answer
78
views
Can Server send sha256 cert when client asks for sha384? [closed]
I have a server using openssl and I sent a connect request using openssl as:
openssl s_client -4 -connect www.google.com:443 -sigalgs rsa_pss_rsae_sha384 -tls1_2
I expected the connection to fail ...
0
votes
1
answer
140
views
Why does CAST(HASHBYTES('SHA2_256', ...) AS BIGINT) in Synapse SQL not match PySpark SHA-256 hash to BIGINT conversion?
I'm trying to replicate a Synapse SQL HASHBYTES logic in PySpark. In SQL, we use this line to generate an ETL hash key:
SELECT CAST(HASHBYTES('SHA2_256', CONCAT_WS('|', [col1], [col2], ...)) AS BIGINT)...
0
votes
1
answer
137
views
Telegram login payload hash verification in Java
I am new to using Telegram and I'm trying to validate the hash provided by Telegram's initData for a webapp mini app (not the login widget) in Java, using the steps from the official Telegram ...
0
votes
1
answer
700
views
software.amazon.awssdk.services.s3.model.S3Exception: The provided content-sha256 does not match what was computed
At first, everything was normal, getObject was executed successfully, and the return was obtained correctly. However, it failed at the upload step, and the error message was reported: software.amazon....
0
votes
1
answer
84
views
How to implement PreHash for signing
Implementing openssl command
openssl rsautl -sign -in rasi.bin -inkey riktest.key -out allkiri.bin
is based on code from answer
Converting Openssl signing to .NET6
using Org.BouncyCastle.Crypto;
...
0
votes
0
answers
70
views
How can I manage image usage in MinIO storage when saving as Sha256?
I am building an image and storing it in a MinIO storage mounted on NFS.
Each image is stored in a folder created using a unique sha256 hash when it is created.
The problem is that the image is ...
0
votes
0
answers
79
views
Angular Material Icons Not Loading When CSP with Nonce is Applied — Fonts Blocked from style.css
I'm using Angular 12 with Content Security Policy (CSP) headers in place, including a nonce for script-src and style-src.
The app loads correctly except for Angular Material icons, which appear broken....
3
votes
1
answer
243
views
Calculating SHA256 hash different results under Windows and Linux
I have code that calculates the SHA256 integrity hash of a file from the web. For example, the integrity hash of jquery-3.7.1.min.js is /JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo= (source). I have ...
1
vote
0
answers
409
views
Bitunix API Signature Failure with Python
I have a code snippet I am trying to prove works and allows me to connect to the bitunix futures API. I have an idea for a bot I want to write.
Instructions for creating the signature: [https://...
0
votes
1
answer
114
views
Matplotlib Not Able to Make Histogram
For a homework assignment, I have to write a function that calculates the SHA-256 hash code of each unique line of a text file and convert the hex digests of those hash codes to integers. I managed to ...
2
votes
0
answers
119
views
Encrypt RSA/ECB/OAEPWithSHA-256AndMGF1Padding Swift Padding error
Backend gives us publicKey and we need to encrypt with
RSA/ECB/OAEPWithSHA-256AndMGF1Padding
and send it to server.
I am using this functions :
static func encrypt(string: String, publicKey: String?)...
2
votes
0
answers
190
views
How to generate SHA256 of GitHub App private key (in Base64 format)
My goal is to verify the private key I downloaded from GitHub for my created GitHub App (Not OAuth-App!). Once I downloaded the key, GitHub showed me the SHA256 of the key:
Because the other keys I ...
0
votes
1
answer
95
views
Generating a hash for Cassandra table data
I wanted to check if there is a way to generate a hash or any kind of unique identifier for all the data in a Cassandra table at a given point of time? I can't find anything to generate a hash ...