Iterative SHA key derivation for PoW v2 challenges.
Computes: hash(hash(...hash(salt ++ password)...)) for cost total iterations.
Supported algorithm strings: "SHA-256", "SHA-384", "SHA-512".
Summary
Functions
Derives a key by iteratively hashing salt concatenated with password.