a simple python implementation of the c_rehash perl script from the openssl package