About 66,600 results
Open links in new tab
  1. python - Getting a hash string for a very large file - Code Review ...

    Oct 22, 2015 · A larger chunk size wouldn't hurt. I think that 8192 bytes would be reasonable: it's approximately a memory page on some machines and approximately the size of a jumbo …

  2. python - Password hashing for safe storage with Argon - Code …

    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. The method …

  3. Python hash verification tool - Code Review Stack Exchange

    I wanted to better understand regular expressions, however, just learning regular expressions would be extremely boring. So I created a simple little program that will verify a hash by the …

  4. python - Brute-force Hash Cracker - Code Review Stack Exchange

    Feb 19, 2018 · I made a hash cracker in Python (for purely educational purposes), but it's really slow (~120 seconds for a 4 character string). How could I speed it up? Current optimizations …

  5. Python implementation of SHA1 - Code Review Stack Exchange

    Here is a implementation of the cryptographic hash function SHA1 written in Python. It does not use any external libraries, only built-in functions. I know that it would be faster to use an external

  6. python - Leetcode 3sum problem solution - Code Review Stack …

    Mar 3, 2024 · 3SUM only checks if a solution exists. There are up to n^2 possible triplets to be returned. Otherwise O (n^2) is the best known algorithm. It's simple: for every nums[i], nums[j], …

  7. python - Hash table using linear probing - Code Review Stack …

    Nov 18, 2016 · This code is meant to implement a hash table class which uses linear probing. I'm doing this to improve my style and to improve my knowledge of fundamental algorithms/data …

  8. Python Hash-Cracker - Code Review Stack Exchange

    Rather than a big branch of if … elif statements in hashcracknum(), use a dict for the lookup of hash name to hash function. Python hash tables are very efficient.

  9. python - Hash table solution to twoSum - Code Review Stack …

    I try the most to solve a twoSum problem in leetcode Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input...

  10. Checksum files in a directory with Python, memory-efficiently

    Oct 5, 2024 · 4 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-efficient manner …