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

    Oct 22, 2015 · After reading about large files and memory problems, I'm suspecting that my code below may be inefficient because it reads the entire files into memory before applying the hash …

  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 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 …

  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 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 …

  7. 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], …

  8. 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 …

  9. python - SHA1 hash of every file in a directory tree - Code Review ...

    In order to check their integrity, I decided to write a python script that would help me with this task. It does exactly what it should, it traverses a directory tree starting from where the script is …

  10. Python Hash-Cracker - Code Review Stack Exchange

    Any ideas on how to speed it up would also be nice too! Code: #!/usr/bin/python import StringIO import getopt import hashlib import sys import os print " " print "Python Hash-Cracker" print …