What is the Simplest Way to Hash Some Value and then Iteratively Hash the Result?
I’m trying to manually verify that an old Electrum bitcoin wallet of mine contains keys that were derived from its seed as expected. One step in the key derivation requires that I hash the seed via Sha256, and then hash the result again via Sha256, and then hash that result via Sha256, etc, until there have been 100000 iterations. Ideally, I would like to do it within a bash shell, since that is really the only environment that I’m somewhat competent in, but if that isn’t possible, or if there is a superior way to do it in some other context, I’m willing to try to learn/attempt.