Skip to content

Instantly share code, notes, and snippets.

@Reggino
Created March 13, 2018 11:49
Show Gist options
  • Save Reggino/6c48432489a5ce3979c780b948e88b1a to your computer and use it in GitHub Desktop.
Save Reggino/6c48432489a5ce3979c780b948e88b1a to your computer and use it in GitHub Desktop.
<?php
$password_sha = '5db97263b34ec854d9f385b6be5ef1d45416197b';
$password_pack = pack('H*', $password_sha);
echo $password_pack . "\n";
file_put_contents(__DIR__ . '/output_php.txt', $password_pack);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment