Skip to content

Instantly share code, notes, and snippets.

View christianclinton's full-sized avatar

Christian Clinton christianclinton

View GitHub Profile
@christianclinton
christianclinton / gist:faa1aef119a0919aeb2e
Last active October 15, 2024 08:07
RabbitMQ Password Hash - Python
#!/bin/env/python
import hashlib
import binascii
# Utility methods for generating and comparing RabbitMQ user password hashes.
#
# Rabbit Password Hash Algorithm:
#
# Generate a random 32 bit salt:
# CA D5 08 9B