Questions tagged [hash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
76 views

Encryption and Decryption in C

I have written a program in C, which encrypts and decrypts a c-styled string (const char *) and print the result to stdout. It ...
user avatar
0 votes
3 answers
79 views

My hash function

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 ...
user avatar
1 vote
1 answer
69 views

Python: Generate SHA3 hashes for files with custom rate and capacity values

I am working on a project which requires comparing the performance of SHA3 on different values of rate and capacity. I have implemented the same in Python and my program works fine, however, the ...
user avatar
1 vote
0 answers
37 views

Unpack a flattened hash into Hash/JSON

The following JSON ...
user avatar
1 vote
1 answer
181 views

Hashing with python optimization, hashlib and multiprocessing

I am looking to get any type of improvement, I want to be able to hash a list of 'blocks' aka strings and check if hashes match per block, if you can help me with that, currently reading and writing ...
user avatar
  • 65
1 vote
0 answers
61 views

A simple Java integer hash set - follow-up

(See the previous version.) (See the next version.) After incorporating changes in the previous post, I came up with this implementation. However, I left hashing as it is. ...
user avatar
  • 25.3k
1 vote
1 answer
61 views

How to reduce code in hash created using Database and Params in rails

I have wrote following solution for one answer but I want to refactor to make it more simple and readable. I am receiving params ...
user avatar
3 votes
1 answer
1k views

Login system using bcrypt and MySQL, to be used for any future projects

Main function will ask what the user wants to do. LoginSystem class will handle the sign up and login process as well with the checking if password is right. passwordHashing will use bcrpyt to salt ...
user avatar
5 votes
1 answer
244 views

RUST: How can I optimize this password cracking algorithm?

I made this project in my free time to try to crack a 4x hashed md5 with a couple of hints but I'm looking for ways I can optimize this algo because it's pretty slow and I know you could probs use ...
user avatar
1 vote
0 answers
23 views

HaveIBeenPwned API

Please find my code for securely checking Haveibeenpwned for breached passwords This code will only send a partial HASH over the internet (using HTTPS) and the second part of the HASH will be checked ...
user avatar
  • 2,033
4 votes
1 answer
69 views

SHA256 password cracker - v2 with concurrency

I have updated my previous code with the suggestions. I have also implemented concurrency to speed up the results. I'd be interested for comments on a more efficient use on concurrency / parallel ...
user avatar
  • 2,033
3 votes
1 answer
586 views

SHA256 password cracker - brute force

I wrote a SHA256 password cracker. I initially used lists to store the information in list1.txt and list2.txt but I would end up ...
user avatar
  • 2,033
4 votes
2 answers
38 views

Find entry in hash depending on hash's data

I wrote this code and I just can't stomach it. The idea is that there is a schema, and the goal is to find the entry with autoIncrement set to true. If it's not ...
user avatar
  • 537