Skip to main content
Filter by
Sorted by
Tagged with
11 votes
3 answers
1k views

Take a look at the function SHA1Transform taken from an SHA1 algorithm on Github. Assuming SHA1HANDSOFF is defined, the function looks like this: void SHA1Transform( uint32_t state[5], const ...
Andreas's user avatar
  • 10.6k
0 votes
1 answer
90 views

I wrote a piece of Python code to read different GPS observation files (.24o) and navigation files (.24p), and generate polar plots of satellite trajectories. The goal is that the RINEX file can be ...
Aria's user avatar
  • 1
2 votes
3 answers
267 views

I implemented std::hash<std::string> in the usual way, by specializing the std::hash template. But then I realized that these should already be provided by the <string> header (https://www....
luczzz's user avatar
  • 446
Advice
0 votes
4 replies
57 views

I want a simple hashing algorithm with the following conditions: 1,) if n is a ten-digit integer, eg, 1234567890, then the hash of n will equal the hash of all (left-justified) sub-strings of n. As in,...
EternalPropagation's user avatar
0 votes
1 answer
57 views

This is a bit of a slog so bare with me. I'm currently writing a 3D S(moothed) P(article) H(ydrodynamics) simulation in Unity with a parallel HLSL backend. It's a Lagrangian method of fluid simulation,...
Ben Williams's user avatar
1 vote
0 answers
126 views

I want to create a user using a password that has already been hashed (using argon2). This is to validate the user migration process from my application's database to Keycloak. I went to ...
Victor Nolêto's user avatar
Best practices
1 vote
5 replies
129 views

Given an input string, I want to generate a "random" number between 0 and 1. However given the same input string, the returned value should stay the same. I tried something like: Random ...
Nathan H's user avatar
  • 49.7k
1 vote
0 answers
40 views

I'm using buildroot 2024.02. I set BR2_GLOBAL_PATCH_DIR+="$(BR2_EXTERNAL_MY_PATH)/patches". Its contents: % tree /home/admin/buildroot-external-my/patches /home/admin/buildroot-external-my/...
Papillon's user avatar
  • 337
Advice
1 vote
14 replies
258 views

I need help regarding a code I want to write in c++. I want to develop a program that receives and visualizes CAN messages on a GUI. The messages in question are about 100 distinct ID's, so we're not ...
Simone Sesana's user avatar
-4 votes
1 answer
87 views

I have a database-table of users including columns for password-hash and password-salt. As I am one of the users in this table I also know the plain-text password of one of these users. The salt ...
Markus Seizinger's user avatar
0 votes
0 answers
46 views

Hex string is from https://github.com/bitcoin/bitcoin/blob/d30f149360d10de31bd7f7369aa61ce8be0837b5/src/kernel/chainparams.cpp#L75C5-L75C206 I have tried the following Python 3 code but it doesn't ...
Umair A.'s user avatar
  • 6,950
0 votes
0 answers
27 views

I have a NiFi 2.4.0 pipeline: GenerateFlowFile -> ExecuteSQLRecord -> PutGCSBucket ExecuteSQLRecord fetches all table columns and outputs Parquet files. I want to hash certain columns ...
Sahana's user avatar
  • 1
0 votes
1 answer
101 views

In my SQL Server legacy User table, I have the following columns (which I cannot change): UserName: VARCHAR(50) PasswodsHashed: VARBINARY PasswordSalted: VARBIANRY This table has thousands of records ...
kevmull's user avatar
  • 103
0 votes
1 answer
98 views

I have an issue when I use the function hash_agg on snowflake. The result is different even if the data are the same in the table. Below a data exemple Sales id, name, price 1, Test1, 2 1, Test1, 3 1, ...
Etienne's user avatar
  • 420
1 vote
3 answers
133 views

I'm working on a web application that has a simple login flow. My problem arises when I try to use a strong algorithm (argon2, bcrypt) for hashing the password on a limited resources AWS LightSail ...
mice's user avatar
  • 29

15 30 50 per page
1
2 3 4 5
1643