About 69,000 results
Open links in new tab
  1. hash map - HashMap implementation in Python - Code Review …

    Here's my implementation of a bare-bones HashMap in Python. Expected behavior, it returns None if a key is missing, When a key is inserted the second time it just overwrites the first …

  2. 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

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

  4. python equivalent of ruby's Hash#dig - Code Review Stack Exchange

    Oct 7, 2024 · python equivalent of ruby's Hash#dig Ask Question Asked 1 year, 2 months ago Modified 6 months ago

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

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

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

  8. python - Short script to hash files in a directory - Code Review …

    Code style guidelines Especially in Python there are strict code style guidelines mainly defined in PEP 8. These include snake_case names for functions and variable names. Comments …

  9. python - A One-Pass Hash Table Solution to twoSum - Code …

    Mar 23, 2019 · A One-Pass Hash Table Solution to twoSum Ask Question Asked 6 years, 8 months ago Modified 6 years, 8 months ago

  10. Cross-platform file hash sum generator in Python

    Aug 11, 2016 · This time, I'm looking for general code review of my approach to a Python way of getting one or more hash sums for a provided file path (unfortunately, it's one-file-at-a-time, …