Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [hash]

A hash function is any well-defined procedure or mathematical function that converts a large amount of data into a small datum, usually a single integer. For questions about hashtags as used to label content on social media, use hashtag. For questions about URLs and HTML anchors, use fragment-identifier. For questions about Ruby's hash type, use ruby-hash.

hash
0 votes
0 answers
8 views

Why does `blake2b` on a `numpy` array give different results in different machines?

I ran the following code in two different machines: import numpy as np from hashlib import blake2b print(blake2b(np.array([1, 2, 3])).hexdigest()) The two machines print a different result. Why ...
Ray Bern's user avatar
  • 125
-1 votes
1 answer
16 views

Less dissociated hashing? [closed]

I am trying to implement a visual representation of a number strings to make it easier for the user to identify similar values. The first part of this is generating a fixed length hash of the data - ...
symcbean's user avatar
  • 48.2k
0 votes
0 answers
12 views

In Cryptography KAT tests how to use SHA256 correctly?

I got a project on github which I want to use for a school project and all relevant data for the question is in the "KAT" folder. However, I got 1 problem. It contains .rsp1 files with the ...
isjsjaja uucusa's user avatar
0 votes
0 answers
23 views

Rewrite ASP.NET MembershipProvider SHA1 hashing algorithm in Node.js

As part of a project I'm working on, I need to support a number of SHA1 hashed & salted passwords created by ASP.NET's MembershipProvider. I need to rewrite this in Node.js and despite scouring ...
Adam K Dean's user avatar
  • 7,506
0 votes
0 answers
23 views

.NET 7 API Middleware Mask

I am developing an API with .net 7. My question is, can we mask the parameters coming to all ends in the API in the middleware? For example public async Task<ApiOperationResult<Token>> ...
Taha İbrahim Orhan's user avatar
0 votes
0 answers
16 views

How can I find all unique sub graphs within a graph database such as memgraph?

I have a dataset of tens of thousands of directed subgraphs. The subgraphs are trees, they branch from the root node and never merge. I want to find all the unique subgraphs based on the event_type ...
Adrian Montagu's user avatar
0 votes
4 answers
55 views

Error when using bind_rows where one data frame has a column of type <hash>

I want to bind rows from two different data frames where one data frame contains a column of hash values whereas the second data frame doesn't contain this column. library(tidyverse) library(openssl) ...
deschen's user avatar
  • 10.4k
-4 votes
0 answers
29 views

How to generate the well know SHA256 file with the 7-ZIP GUI? [closed]

Since over 1 hr I try to find how I generated the SHA 256 file with the 7zip GUI? I cant remember, and I dont find help in Google or AI so I ask you to help me. I generated a file in the past and its ...
The Code Master's user avatar
-5 votes
0 answers
41 views

How to calculate CRC32 of strings longer than 3 characters? [closed]

I try to calculate CRC32 of strings as described in this website In that website, example string is Hi\n which has 3 characters length. String is converted to binary format and then inverted. Then it ...
Çağatay KAYA's user avatar
0 votes
3 answers
253 views

Double floating point operations using four IEEE rounding modes implemented in terms of round to nearest ties to even

I am looking to implement the RandomX Proof of Work hash function in JavaScript + WebAssembly. The README explains how this isn't possible: Web mining is infeasible due to the large memory ...
l-m's user avatar
  • 1
-2 votes
1 answer
55 views

class "std::basic_string<char, std::char_traits<char>, std::allocator<char>>" has no member "c_str" C/C++(135) [closed]

As a personal project, I was thinking of creating my own blockchain to use in a cryptocurrency that I also would like to create entirely from scratch in C++. While I was writing my code, I suddenly ...
Steve's user avatar
  • 17
-1 votes
0 answers
34 views

How to decide which is better option to implement nonce or hash for inline scripts-CSP

What if in big application,we use something like below in multiple areas <button type="button" class="btn btn-primary" onclick="func1()">test</button> <...
Anonymous's user avatar
0 votes
0 answers
26 views

Question about hashing for security research [closed]

So when a User sends a post request with login credentials to the server for the first time. The Server hashes the password and stores it. When the User logins in again with that password it gets ...
Zacharius Dysart's user avatar
2 votes
0 answers
49 views

Unexpected differing BINARY results in Azure Spark Notebook depending on magic code %%sql or %%pyspark

Hello stack overflow community, I am currenty facing an issue in an Azure Synapse Analytics Spark Notebook that I do not understand and need help with (hint: The Spark version of the Apache Spark pool ...
MarieJoana's user avatar
0 votes
1 answer
21 views

How can I make hashing algorithm for code snippets?

I would like to make an algorithm, which can detect code snippets when iterating through source codes, based on some hashing algorithms. So for example, here is that short code snippet from a fragment ...
Fox1942's user avatar
  • 298

15 30 50 per page
1
2 3 4 5
1604