As the development process moves along will we see more crypto-hashing options?
Right now I see SHA3, any reason for this choice in particular? Could we see potentially Scrypt or X11 here too?
elif op == 'SHA3':
s0, s1 = stk.pop(), stk.pop()
if not mem_extend(mem, compustate, op, s0, s1):
return OUT_OF_GAS
data = ''.join(map(chr, mem[s0: s0 + s1]))
stk.append(utils.big_endian_to_int(utils.sha3(data)))
Not sure if there would be a point to that per say, other than we could create other types of currency with it. More capability.
Cheers, great pycode!
Comments
For the rationale (and a possible way to add more crypto-hashing options via "native extensions") read the august blog update: https://blog.ethereum.org/2014/08/27/state-ethereum-august-edition/