Bugfix/srp fix for zeroprefixed hashes

This pull request builds upon changes made in #59. Please review & merge that pull request first.