1,335 questions
-1
votes
1
answer
72
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 ...
2
votes
1
answer
275
views
Mismatched Nonce on Server Side Apple App Attest
I am currently trying to learn how to implement Apple's App Attest in my apps and am using Go for my backend server. I found this guide which explains that I need to verify that a specific set of ...
0
votes
0
answers
132
views
Recreating TPM (Trusted platform module) PCR 10 from Linux IMA (Integrity Measurement Architectur) log
I created a VM on google cloud platform. After creating it, I edited /etc/default/grub file by adding additional kernel command line parameters so that I would enable IMA module:
...
0
votes
0
answers
30
views
Can't save SHA Fingerprint on Cloud Console
I am not a developer or much of a techie, but wanted some help with this.
I have an Android app, and I need to add a SHA fingerprint to the console.
When I enter a fingerprint and SAVE it, it does not ...
0
votes
0
answers
44
views
How to exclude Version from SHA calculation in .NET
I build a .NET solution through Github Actions like so:
dotnet build --configuration Release --no-restore --verbosity normal /p:Version=${VERSION}
VERSION is set to the current repo tag. With each ...
0
votes
1
answer
47
views
Drawbacks of reducing number of roots in SHA-256?
i currently implement SHA-256 in GO, i know that by standard we have to use roots of first 64 prime numbers, but i am curious how reducing this number can affect protection of an algorithms.
Right now ...
0
votes
1
answer
74
views
Getting different SHA-224 values in Python and Kotlin Android
Need to validate the Hash value for a Json response received from the backend. The hash value is properly calculated in Python and matched with backend server hash value which is correct. where as I ...
0
votes
0
answers
55
views
Can't able to get signingReport in Flutter due to error
I am trying to get SHA keys using the command ./gradlew signingReport. But I am getting the following result.
* What went wrong:
Execution failed for task ':gradle:compileGroovy'.
> BUG! exception ...
1
vote
1
answer
321
views
How to use xxhash in hashlib.file_digest?
I want to quickly compute hash values of large files on disk to compare them to one another.
I'm using the following:
import hashlib
def sha256sum(filename):
with open(filename, 'rb', buffering=...
2
votes
0
answers
210
views
How to hash a password in TMS WEB Core?
I am trying to use the TWebSHAHash from my website using Delphi. I tried using what is on the documentation: https://download.tmssoftware.com/doc/tmswebcore/components/twebshahash/, but it won't work.
...
0
votes
1
answer
240
views
Why is older JDK8 not accepting certificates signed by our own CA?
We're trying to secure a connection from a Java-program to a remote server. The server is presenting a certificate signed by our own CA, and our Java-program is rejecting that:
Caused by: javax.net....
0
votes
0
answers
38
views
Storage size of struct hash_desc desc; isn't known
I am trying to invoke the SHA-1 algorithm using the Linux kernel driver. And the code that I am referring to has used the header file linux/crypto.h. The code uses a struct hash_desc desc; structure ...
-2
votes
1
answer
40
views
How do I create a 3d array in JavaScript initialised to be full of zeroes, with XYZ dimensions 5x5x64
I've written what i thought would create an array of 5 arrays each containing 5 arrays of 64 zeroes, but when i write the resulting array to the console, i do not get what i expected to see, yet the ...
0
votes
0
answers
195
views
X509 Private Key Convert to pkcs1 possible?
Is it possible to convert a public/private key I created in PHP (x509 format I believe but not 100% sure) to a pkcs1 version (python) ? I have two apps one PHP and one in Python, and I would like ...
1
vote
1
answer
231
views
Migrate from MD5 to SHA in Verifone(2Checkout) webhook responses
Verifone will stop supporting the MD5 algorithm on the 15th of April, 2024 in their platform and forces users to use SHA instead. It is neccessary to responde on the IPN notifications with some hash ...
0
votes
1
answer
409
views
Flutter, Firebase Google sign in error - I/flutter ( 5171): PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: [duplicate]
I have been having issues with signing in to google on a flutter app I am trying to develop. I keep on getting the same error on my debug console which is -
I/flutter ( 5171): PlatformException(...
0
votes
0
answers
2k
views
OpenVPN Connect incorrect profile configuration (Error message: crypto_alg: SHA3-512: not found)
I used to connect to the server through OpenVPN Connect without any issues when I had imported previous profile in .opvn format.
My boss had to reestablish server and while doing so he also must have ...
0
votes
1
answer
684
views
Get valid checksum from file in Artifactory
The Artifactory automatically calculates the checksum of any file I store, but when downloading it, it just returns the hash, not a valid checksum file.
When executing curl https://<artifactory_url&...
2
votes
1
answer
2k
views
How can I derive a key pair from mnemonic phrase successfully in NodeJS?
I'm trying to create a simple cryptocurrency for which I made a wallet in Node.JS using the bip39 and crypto module. The plan is to be able to create a wallet so that the script generates a random ...
0
votes
0
answers
322
views
Makefile: sha256sum hangs forever with 0% CPU usage
my Makefile behaves absolutely chaotically:
I have Makefile for backups. The backup directory has name format: 2023-09-11 and contains 3 disk image files, each with their sha256 checksum:
# ls -1 2023-...
-1
votes
1
answer
33
views
How is the following Cryptographic Predictability happening?
This is the scenario:
Server Key (always 40 chars)
Player1 Key (usually 20 chars) (selected as the first player in the current game)
Player2 Key (usually 20 chars) (selected as the second player in ...
0
votes
1
answer
236
views
How to get the SHA of the branch merged from in a github action workflow push?
I wonder if it is possible to get the sha from the branch merged from in a github action workflow? I have a github action workflow push event like where I can get the sha of the commit to the branch ...
0
votes
0
answers
77
views
Determine type of the hash algorithm in C++
I am trying to create a program that prints the given hash as input.
Example: myprogram.exe
...
-1
votes
1
answer
203
views
Is this Secure: Encryption Algorithm using SHA256
I am trying to create an encryption algorithm that uses SHA256 to generate the stream that it should XOR the data with.
I want to know the following code provides a secure encryption algorithm.
The ...
0
votes
1
answer
956
views
How to generate a string hash, with a custom alphabet and length, while minimizing collisions
Assume I need to generate the hash for a string where the hash itself can be max N characters long in a given alphabet, e.g. all alphanumeric characters [a-zA-Z0-9] plus the symbols !?-=.
One trivial ...