Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Supermathie/6a28dfedc4753180e46bba51892c5762 to your computer and use it in GitHub Desktop.
Save Supermathie/6a28dfedc4753180e46bba51892c5762 to your computer and use it in GitHub Desktop.
supermicro
OpenSSL::HMAC.hexdigest('SHA1', '8544E3B47ECA58F9583043F8'.scan(/../).map(&:hex).pack('c*'), '3CECEF000000'.upcase.scan(/../).map(&:hex).pack('c*'))[0..23].upcase.scan(/..../).join('-')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment