<
 
 
 
 
×
>
hide You are viewing an archived web page, collected at the request of Ethereum Foundation using Archive-It. This page was captured on 10:04:28 May 06, 2021 , and is part of the Community collection. The information on this web page may be out of date. See All versions of this archived page. Loading media information

Adding more than just SHA3, Future POC

SilentCiceroSilentCicero Toronto, CAMember Posts: 159 ✭✭✭
edited November 2014 in Python Implementation
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

Sign In or Register to comment.