Skip to main content

Questions tagged [hashcode]

Hashcode is a result of applying a hash function to data, usually an integer.

6 votes
4 answers
771 views

First C++ project: write a hash set for a specific scenario where I only need inserts and containment checks. This is not AI slop, everything except for the avalanche function is hand written. Please ...
Bananach's user avatar
  • 191
4 votes
2 answers
153 views

This is the implementation of a function hash_dir_contents that walks through a directory and for every file calculates the hash of its content in a memory-...
viuser's user avatar
  • 629
1 vote
3 answers
178 views

I am writing code in C, and I need to do various operations with Bitcoin, from generating key pairs, to sign messages to post transactions. I found libraries for C++, but nothing in C that does all ...
capodieci's user avatar
1 vote
1 answer
72 views

Can you review the following Python code? ...
user366312's user avatar
5 votes
1 answer
332 views

I'm trying to build a format that can represent the user's cart on my website in the most compact way. The website is related to computer parts and there are 23 product categories. Each product has an ...
Raees Iqbal's user avatar
2 votes
2 answers
452 views

Application: replacing enum type / description tags in modular software, allowing adding new enum values without updating one definition. Say we have a video processing pipeline not unlike gstreamer. ...
Stefan's user avatar
  • 813
2 votes
1 answer
532 views

This code snippet implements password hashing for safe storage. It uses Argon2 as hashing algorithm. The method hash_password() is used to hash and salt a password. ...
questıoner's user avatar
0 votes
3 answers
247 views

I'm trying to create a hash function for my own custom class. It uses a string value of 4 chars as a key, which is unique to every object, which I then encode using getBytes(), the part actually used ...
EddyDantes's user avatar

15 30 50 per page
1
2 3 4 5
10