Simplify API to algorithm and seed.

* This collapses seed and key into just a seed.
* Hash algorithm is now a parameter.
* Key and node seed sizes are equivalent to the hash algorithm's digest size.