PvPGN Password Hash Tools

Generate Battle.net SRP verifier

This utility creates Battle.net SRP verifier from any triad of username, password and salt.

User Name:
Salt (hex):

Battle.net SRP code implementations

PHP5 static class

Download bnetsrp3.class.php
Example of use
    // initialize class

    $username = 'username';
    $password = 'password';
    $salt = BnetSRP3::rndsalt(); // random salt
    echo BnetSRP3::getVerifier($username, $password, $salt);

Python utility

Download bnetsrp3.py
Example of use
bnetsrp3.py username password 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF

# output
salt	: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
x	: a145033a2417b6e9de9d649a5aa5058ec6ddecf6
verifier  : f8e63df16088154a8a2fa63b96d33454b0c61c22e156eb655caf7f5947208b4b

Windows executable (C++)

Download bnetsrp3.exe (211Kb)
Download source code pulled out from PvPGN
Example of use
:: this is a command line program
:: you should run it using "cmd" (Start > Run... > cmd)

:: first parameter is username
:: second is password hex
:: third is salt hex

C:\>bnetsrp3.exe username 50415353574f5244 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF

:: above command will print

Technical information