Implementation - someburner/pyhy GitHub Wiki

Implementation details

Mostly things are implemented as dumb wrappers, with the following differences:

  • buffers are created when needed, as opposed to passed in, and returned
  • methods specifically return the result or tuple of results, with a few additional sanity checks. In place of exceptions, None is returned.
  • Methods that contain states (hash, kx, sign) have additional helper classes.