Saravanan666/pypi-org huggingface dataset:
Package: hashcrack
This is meant to be a menu driver for crashing hashes.Examples# Manually add a hash if not specified on command line
hashcrack > add hash 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
# Be sure to set the type
hashcrack > set hashtype SHA2-256
# Optional -- tell hashcrack to use cpu if gpu is causing issues
hashcrack > set device cpu
# Crack it
hashcrack > crack
# If it's already cracked, show it
hashcrack > show

# Set your own wordlist (uses rockyou by default)
hashcrack > set wordlist <path_to_wordlist>Cracking WPA2hashcrackwill attempt to determine the correct settings and extract the
needed hashes for you. One example of this currently is pcaps. With hashcrack,
it’s as simple as:$ hashcrack ./my.pcap
   ▄█    █▄       ▄████████    ▄████████    ▄█    █▄     ▄████████    ▄████████    ▄████████  ▄████████    ▄█   ▄█▄
  ███    ███     ███    ███   ███    ███   ███    ███   ███    ███   ███    ███   ███    ███ ███    ███   ███ ▄███▀
  ███    ███     ███    ███   ███    █▀    ███    ███   ███    █▀    ███    ███   ███    ███ ███    █▀    ███▐██▀
 ▄███▄▄▄▄███▄▄   ███    ███   ███         ▄███▄▄▄▄███▄▄ ███         ▄███▄▄▄▄██▀   ███    ███ ███         ▄█████▀
▀▀███▀▀▀▀███▀  ▀███████████ ▀███████████ ▀▀███▀▀▀▀███▀  ███        ▀▀███▀▀▀▀▀   ▀███████████ ███        ▀▀█████▄
  ███    ███     ███    ███          ███   ███    ███   ███    █▄  ▀███████████   ███    ███ ███    █▄    ███▐██▄
  ███    ███     ███    ███    ▄█    ███   ███    ███   ███    ███   ███    ███   ███    ███ ███    ███   ███ ▀███▄
  ███    █▀      ███    █▀   ▄████████▀    ███    █▀    ████████▀    ███    ███   ███    █▀  ████████▀    ███   ▀█▀
Version 0.4 (https://github.com/bannsec/hashcrack)
Powered by: Hashcat (hashcat.net)

hashcrack > crackNoteYou may have to adjust thehashtype, though the default will work for
most PSK setups.Auto Configurehashcrackwill attempt to auto configure for certain types of input files.
For instance, when trying to crack a WPA key, you must first extract that key
from the pcap, then select the correct hash type in hashcat.hashcrackwill
do this type of configuration for you for various common file types.# Auto crack wpa from a pcaphashcrack--crack./some.pcap# Auto crack entries from a shadow filehashcrack--crack./shadow# Auto crack an encrypted 7z filehashcrack--crack./file.7z# Auto crack an encrypted rar filehashcrack--crack./file.rar# Auto crack an encrypted zip filehashcrack--crack./file.zipJohn JumboJohn Jumbo is currently packed into this library (minus some of the processing
scripts). The following commands are exported for use across Windows and
Linux distros.john, zip2john, rar2john, gpg2john, unafs, undrop, unshadow
Package: hashdate
HashDateTurns Python datetimes (or iso dates withcli) into hashes.The hashes support shortening to reduce precision, so a prefix of a hash will be the same datetime rounded to the given hashlength.Cli usageCheck out the demo:$hashdatedemoIts full of colors:Turn your iso date into a hash:$hashdatedate2hash2020-05-13T22:30:47.136450
hash:UCABCBDCCDAEHBDGEFAThen if you only take the first 11 chars you get a datetime with less precision:$hashdatehash2dateUCABCBDCCDA
datetime:2020-05-13T22:30:00you can also secify to use emojis for charset if you want to:$hashdatedate2hash2020-05-13T22:30:47.136450-cemoji
hash:🌹🐲🌼🥕🐲🥕🌲🐲🐲🌲🌼🍇🐐🥕🌲🌴🍇🐂🌼and back again:$hash2date🌹🐲🌼🥕🐲🥕🌲🐲🐲🌲🌼🍇🐐🥕🌲🌴🍇🐂🌼-cemoji
datetime:2020-05-13T22:30:47.136450Module usageimportdatetimefromhashdateimportdatetime_to_hash,hash_to_datetimenow=datetime.datetime.now()hash=datetime_to_hash(now)dt=hash_to_datetime(hash)assertnow==dtAdvancedUse emojis:importdatetimefromhashdateimportdatetime_to_hash,hash_to_datetimenow=datetime.datetime.now()hash=datetime_to_hash(now,charset='emoji')dt=hash_to_datetime(hash,charset='emoji')assertnow==dtRegister more charsets:importdatetimefromhashdateimportregister_charset,datetime_to_hash,hash_to_datetimecharset="🌼🥕🐲🌲🍇🐂🌴🐐🍉🌺🍊🐽🍆🦎🍟🌱🐫🐍🐃🍍🌹🍕☘🌿🥓🐪🌷🏵🔥🐷🌳🌶🥒🐊🐗🐏🌵🌻🌽🐢🍋🍈💮🎃🌊🥔🌰🍀🍃💧💐🍂🐮🌸🐄🍄🍁🍞🥜🐑🥀🌭🐸🐖"register_charset('my_emojis',charset)now=datetime.datetime.now()hash=datetime_to_hash(now,charset='my_emojis')dt=hash_to_datetime(hash,charset='my_emojis')assertnow==dtStructure of a hashdatecentenial: [...19,20,21...]
|    quarter start month: [0,3,6,9]
|    |   day in tens: [0:3]
|    |   |   hour in tens: [0:5]
|    |   |   |   minute in tens: [0:5]
|    |   |   |   |   second in tens: [0:5]
|    |   |   |   |   |   microsecond digits:[0:999999]
|    |   |   |   |   |   |
U CA B C B D C B A F C E BCDAAB  
  |    |   |   |   |   | 
  |    |   |   |   |   second: [0:9]
  |    |   |   |   minute: [0:9]
  |    |   |   hour: [0:9]
  |    |   day: [0:9]
  |    month in quarter: [0,1,2]
  year: [0:99]
Package: hashdb-cli
HashDB CLIFor information about hashdb take a look athttps://hashdb.openanalysis.net. This is a small python CLI which allows querying for hashes/algorithms from the commandline.Installationpip install hashdb-cliUsageUsage: hashdb [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Commands:
  add         Add a new string to hashdb
  algorithms  Load and dump available algorithms.
  get         Get original strings for a given algorithm and a hash.
  hunt        Check if given hashes are available via different hash...
  resolve     Try to hunt for a single hash and grab the string afterwards.
  string      Get information about a string which is already available...List algorithmshashdb algorithms (--description)Get stringHashdb requires the hash to be an unsigned integer, however, hex strings can be used in combination with-h/--hexparameter.hashdb get (--hex) <algo_name> <hash>HuntPass multiple hashes to the API in order to find a fitting algorithm.hashdb hunt <h1> <h2> <h3> ... <hn> (--hex)ResolveCombination of hunt and get.hashdb resolve <h1> ... <hn>StringGet information about a string in the databasehashdb string <string>
Package: hashdd
hashddpyhashdd is a library for building and using hash databases.InstallationWith all prerequisites installed, you can install pyhashdd withpip, the[all]extras directive will install everything to need for extended hashes likessdeepandpysha3:pip install hashdd[all]Alternative InstallationsDefault InstallationBy default, we don't want to assume you have all of the required prerequisites installed, so we just install the absolute bare minimum for you to use the library as an import.pip install hashddExtended Hashes InstallationMany of our "extended" hashes are essentially wrappers around popular OS libraries. These libraries are OS-level dependencies that we dont want to force you to use. So but default we don't install them but give you the option to install them all if you'd like.pip install hashdd[all]DockerBuild the container from the git root:docker build -t hashdd .Create a directory to scan, and copy oursample.exeinto it.mkdir files_to_scan/
cp tests/data/sample.exe files_to_scan/Mountfiles_to_scan/and scan away!docker run --rm -v "$PWD"/files_to_scan:/files_to_scan hashdd hashdd compute -d /files_to_scanPrerequisitesUbuntusudo apt-get install libfuzzy-dev libmhash-dev libffi-dev libssl-devOSX/Darwin Prerequisitesbrew install ssdeephashddcliExamplesTo recusively (-d goodfiles/) calculate the SHA256 hashes of files in thegoodfiles/directory and add those hashes to a new bloom filter (the bloom filter is stored inhashdd.bloom):hashdd bloom -d goodfiles/With the bloom filter created, thebloomoption now compares calculated hashes to the bloom. To calculate the SHA256 hash ofsample.exe(-f sample.exe) and check if it is within the bloom filter (bloom):hashdd bloom -f sample.exeTo calculate (compute) all hashes (--all) and output them to the screen:hashdd compute -f sample.exe --allTo calculate a specific hash type:hashdd compute -f sample.exe -a md5wLibrary ExamplesTo hash a file using all algorithms and features, then store the results in Mongo:>>> from hashdd import hashdd
>>> h = hashdd(filename='sample.exe')
>>> from pymongo import MongoClient
>>> db = MongoClient().hashdd
>>> db.hashes.insert_one(h.result)Testingpython -m unittest discover -s tests/py-mhashandmhashlibBack in 2017we fixed an issue in py-mhashwhich was merged into the git repository, however this fix was not built as part of the distribution in PyPi. Rather then rely on the package maintainer any further, we've bundled inpy-mhashwith hashdd. Please see thepy-mash licensefor copyright information.
Package: hashdex
HashdexA file indexer based on content hashes to quickly find duplicate files on your system.
I created this tool because I always forget which pictures from my phone I already uploaded to my Dropbox account.
Now I can just upload all pictures to an uploads directory check these files against the index and only organize
the remaining files.As easy as..pipinstallhashdexhashdexadd/path/to/my-main-pictures-directoryhashdexcheck--rm/path/to/my-uploads-directoryFree software: MIT licenseDocumentation:https://hashdex.readthedocs.io.Featurescreate an index of your filesfind duplicate files on your filesystemcheck if files in a directory are already indexedCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.6.1 (2020-11-18)Updated development dependenciesAdded python 3.8 supportDropped python 2.7, 3.4 supportAdded Dockerfile0.6.0 (2017-10-28)Added version option to main commandAdded option to move files while checking for duplicatesUpdated pytest-runner to 3.0.0Updated cryptography to 2.1.2Updated sphinx to 1.6.5Updated flake8 to 3.5.0Updated tox to 2.9.1Updated pytest to 3.2.30.5.0 (2017-09-28)added support for adding and checking files instead of directoriesmoved default index file to users home directoryUpdated dependencies0.4.1 (2017-09-24)adjusted for python 2.7 math.floor returning a float0.4.0 (2017-09-24)renamed the index command to ‘add’refactored –dir option for add/check command to cli argumentadded cleanup commandadded docsupdated dependencies0.3.0 (2017-09-12)Added –rm flag to check cli command (without the flag the command will not delete files)Dropped python 2.6 & 3.3 supportUpdated dependencies0.2.0 (2017-09-08)Refactored Indexer classAdded Hasher classAdded tests 100% code coverageUpdated dependencies0.1.1 (2017-09-05)Updated dependenciesFixed file listing bug0.1.0 (2017-09-04)First release on PyPI.
Package: hashdial
Implements, through hashing, decision making that is deterministic on input, but probabilistic across a set of inputs.For example, suppose a set of components in a distributed system wish to emit a log entry for 1% of requests - but each
component should log thesame1% of requests, they could do so as such:if hashdial.decide(request.id, 0.01):
    log_request(request)Take a look atthe documentationfor more.
Package: hash-dict
hash-dictAllow python dict/set redefine hash and equals operations like csharp.You are able to create your own comparers.UsageFor example, for str ignore case:fromhash_dictimportHashDict,StringComparersdata=HashDict(StringComparers.IgnoreCaseComparer)data['a']=1assertlist(data)==['a']assertdata['a']==1assertdata['A']==1UnhashableHow about some strange unhashable object?You can useAnyComparerto handle it 👍.
Package: hashdir
hashdirA command line tool to calculate hash of directory trees using various hash algorithms.InstallingTo install, run the following command in your terminal:pip3 install hashdirInstalling on AndroidYou may want to install hashdir through Termux or similar on android to check hashes of directories on your android system.On some systems, you may have to reinstall python to get development libraries, and install libcrypt before installing hashdir for the installation to work:aptinstallpython
aptinstalllibcryptOtherwise, installation on android is the same as others.pip3 install hashdirUsageusage: hashdir [-h] [-a {md5,sha1,imohash}] [--log-level {error,info,debug}]
               [-v]
               [directory]

A command line tool to calculate hashes of directory trees using various hash
algorithms.

positional arguments:
  directory

optional arguments:
  -h, --help            show this help message and exit
  -a {md5,sha1,imohash}, --algorithm {md5,sha1,imohash}
                        warning: imohash is a constant-time hashing library,
                        and while being fast for large files, it produces
                        approximate results.
  --log-level {error,info,debug}
  -v, --version         show program's version number and exitAlgorithmHashdir performs the following steps;Walk the directory tree and find all file paths.Sort file paths to get a consistent hash for every system.Compute the hash value for each file separately using the algorithm selected by the -a option (Or md5 as default).Create a "hash string" using the results. Hash string is a string value which consists of a file path and its hash separated by a space character on each line. Print the hash string.Compute the md5 hash value of the hash string, and print it as the result.ContributingContributions are welcome! Please use black for formatting code before sending a PR.
Package: hashedcolls
HashedColls - hashed dict/list collectionsSimple UsagefromhashedcollsimportHashedDictfromhashedcollsimportHashedListd=HashedDictl=HashedListmy=d({d({1:1}):1,l([1,2,3]):2,(1,):3})How it works?By default,dictandlistPython 3 collections can not be used
as a key for adict,  because they are mutable, thus are nothashable.But bothHashedDictandHashedListcontain__hash__()method implemented.How it works is that both of these classes haveHashedmixin included,
so they are able to useHashed.elements2hash()function,
that basically returns__hash__()of all elements (items()in case of adict).
Package: hashed-cron
hashed-cronDescriptionHashed-cron is a library that aim to create a better scheduler in your jobs, minimizing parallel execution in your compute resources.responsible for converting crons that's use a feature coined by Jenkins called Hash.According to Jenkins documentation:To allow periodically scheduled tasks to produce even load on the system, the symbol H (for “hash”) should be used wherever possible. For example, using 0 0 * * * for a dozen daily jobs will cause a large spike at midnight. In contrast, using H H * * * would still execute each job once a day, but not all at the same time, better using limited resources. The H symbol can be used with a range. For example, H H(0–7) * * * means some time between 12:00 AM (midnight) to 7:59 AM. You can also use step intervals with H, with or without ranges. The H symbol can be thought of as a random value over a range, but it actually is a hash of the job name, not a random function, so that the value remains stable for any given project.Source:https://www.jenkins.io/doc/book/pipeline/syntax/Installationpipinstallhashed-cronUsagefromhashed_cronimportcron_convertercron="H H * * *"converted_cron=cron_converter.convert(cron,"job_01")print(converted_cron)# Result: 41 5 * * *ExamplesHashed CronIdentifierResultH * * * *job_0141 * * * *H H * * *job_0141 5 * * *H * * * *job_0216 * * * *H H * * *job_0216 4 * * *H/30 * * * *job_0216/30 * * * *H/10 H/3 * * *job_026/10 1/3 * * *H/10 H/3 0/2 * *job_026/10 1/3 0/2 * *BugsIf you find any bug, please add an issue onhttps://github.com/thiagowig/hashed-cron/issues
Package: hashedixsearch
hashedixsearchhashedixsearchis a lightweight in-process search engine for Python, with support for stemming, custom token analyzers, and query match highlighting.UsagefromhashedixsearchimportHashedIXSearchdoc='find the needle in the haystack'index=HashedIXSearch()index.add(doc_id=1,doc=doc)results=index.query_batch(['find'])forquery,hitsinresults:forhitinhits:# <mark>find</mark> the needle in the haystackmarkup=index.highlight(doc=doc,terms=hit['terms'])This library useshashedindexfor tokenization and indexing.
Package: hashedpass
hashedpassDecentralized, storage less hash-based password management standard and program.Version: 1.0.2
To Do:Implement Argon2 parameter strings.hashedpassis a program and library written in Python which seeks to standardize storage less, decentralized password management based off of hashing. In addition tohashedpassbeing a program/library, it also exists as a standard, written as a document; it can be foundhere.hashedpassis based off of SHA512 and Argon2. The master password, along with other parameters such as service/website and email/username, are first hashed with SHA512, then are fed into an expensive Argon2 hashing algorithm, with consistent salts and parameters. A lot more information regarding the specifics can be found in the standard, in thedocs/folder.The hope is thathashedpasscan be used standalone to prevent ever losing a KeepassXC database, as all one requires is their common master password and the corresponding information for the account that the generated password is intended to go towards--if you remember the three parameters, you will always have your passwords. Alternatively, the more realistic approach is to usehashedpassin conjunction with something like KeepassXC: derive your passwords fromhashedpass, store them into your KeepassXC database and use that primarily, usinghashedpassas a backup if your KeepassXC database is ever lost.hashedpasscan be used as a program with command-line arguments, though this is not encouraged: it requires the inclusion of your master password as a command-line argument, which would likely make its way into a shell history--a large security blunder. To explain the various arguments thathashedpasscan take, we can take inspiration from its help menu, which can be accessed by issuing-h/--helpas a command-line parameter:hashedpass.py - Make passwords via hashes with a master password, a decentralized password manager.
USAGE:

To use hashedpass in interactive mode (it gives prompts, etc), supply no arguments.

Using hashedpass with terminal arguments requires supplying the master password, service/website,
and username/email/id.

-m, --master-password  |        Supply the master password
-p, --password         |


-s, --service          |        Supply the website/service name
-w, --website          |        


-i, --id               |        Supply the id, username, or email.
-u, --username         |
-e, --email            |If one wants to usehashedpassas an interactive application, which will receive input from the terminal and calculate the desired passwords in a convenient fashion, with more features, then provide no command-line arguments to the program to achieve this.As an interactive application, after inputting a master password for all subsequent password derivations, the program will exit on a timeout of 60 seconds if there is no activity, clearing and resetting the terminal. This will hopefully help to prevent accidental seeing of the generated passwords by others.
Package: hashedwords
It accepts any string of hexadecimal characters and returns a string of words that uniquely maps to that hash.::>>> from hashed import dehash, enhash
>>> dehash("21046fd2f17ac0f30c88190393568045256866f2")
'cassareep irascibly upbrought scorched atheized bourtrees oloroso manful chobdar hornbook'
>>> enhash('disbowel obi magnetises famous oblivious divulgence thickened welders foiningly votresses')
'3bc491b57f3a4d1a91da3daae16dfa0052aff75f'As a note, that module has broader uses, like making more readable representations of IPv6 addresses. It’s currently weak on error handling, and will explode if you throw input at it that doesn’t fit the wordlist.The Wordlist is a space-padded file, with a word every 15 characters (or every 30 bytes). It was designed this way for fast access. There is also a JSON encoded index to support the reverse lookup.
Package: hashell-py
hashell-pyPython bindings for hashell (seehttps://github.com/Grisshink/hashell)Examplefromhashellimporthash_stringprint(hash_string('some value',16))# 5149710603511119Buildingpython-mvenvenvsourceenv/bin/activate
pipinstallmaturin
maturindevelopThis should install hashell-py library in your python environment
Package: hashequal
hashequala Python tool for quasi-interactive math sheets, aiming to provide Mathcad-like experienceon execution it modifies the calling script annotating the results of the operations marked with #=examplebefore running#! /usr/bin/env pythonimporthashequala=1+1#=b=a*2#=  # commentafter running#! /usr/bin/env pythonimporthashequal# run 2018-11-06 18:59:54 UTCa=1+1#= 2b=a*2#= 4  # commentinstructionsimport hashequalat the beginning of the file, eventually just below the interpreter directivemark every operation whose result is to be annotated with an#=commentif there need to be further comments on an#=line, use another following#known issuesdoes not handle implicit line continuations
Package: hasher
A single code base to run various hashing algorithms against files, modeled on
the GNU md5sum program. Now based on the cliff command line interface library:https://pypi.python.org/pypi/cliffIf you want a zero external-dependency version, get the 1.1.0 release:https://pypi.python.org/pypi?:action=display&name=hasher&version=1.1.0
Package: hasher-cnml
HasherCommand line interface to the hashlib library.InstallationInstall hasher fromPyPI.pipinstallhasher-cnmlUsageCreate a checksum (defaults to MD5) of the a sample file using:python-mhasherfile_to_hash.txtOr instead specify the hash algorithm directly (all algorithms from hashlib that are available locally)python-mhasher-asha1file_to_hash.txtView the usage information:python-mhasher-hAuthors@cn-ml
Package: hasherino
HasherinoHasherino is a (pre-alpha) twitch chat client with some extra features.InstallCheck outreleasesfor the latest Windows and Linux builds or install fromPyPI.FeaturesAuto color cyclingDark and light modesTwitch Emote support7TV channel emote support7TV personal emote supportEmote name completion(ctrl + e)User name completion(ctrl + u)7TV badges and paintMultiple tabsBug reportingPlease create anew issuedescribing your bug. If necessary, attach your log file(path is on Settings > Debug) after reproducing the bug the last time you ran hasherino.
Package: hashers
HashersA password encoding/hasing library for Python usingDjangohashersRust crate.Installationpip3installhashersAvailable APIsdefhashpw(password:str,algorithm:str)->strdefhashpw_with_salt(password:str,salt:str,algorithm:str)->strdefchk_password(password:str,hashpw:str)->boolExamples>>fromhashersimporthashpw,hashpw_with_salt,chk_password>>encoded_pass_1=hashpw("password123","blake2")>>encoded_pass_2=hashpw_with_salt("password123","sdpql","blake2")>>chk_password(encoded_pass_1,"password123")Available algorithms:Argon2BCryptPBKDF2 (Default)PBKDF2SHA1BCryptSHA256
Package: hashes
Hashes is a tool to quickly hash plaintext strings, or compare hashed values with a plaintext. The reason I wrote this is because when on an assessment, I don’t, and won’t, send hashes that I found to an online “hash generator” that I don’t trust.  I’d rather have an easy way to generate hash values, or compare hashes to plaintext values, quickly.  Hashes does this.Install:` # Create a virtualenv (e.g. venv) virtualenv venv # Activate the environment and install the requirements source venv/bin/activate pip install hashes `Use:
It’s menu driven, if you have questions, just ask meThere are also command line options that can be shown with the -h or –help flag` hashes--help`