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 January 5, 2024 04:08
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