register static method
Register a new BlockHashBase algorithm on the fly given a string name
Implementation
static void register(BlockHashBase algo, [String? name]) {
_buildRegistry();
name = _norm(name ?? algo.name);
_blockHash[name] = algo;
}