Closed mratsim closed 4 years ago
For crypto, it's valuable to know that most routines are side-effect free and pure math.
However at the moment, even init/fromBytes cannot be tagged as func/noSideEffect.
init
fromBytes
Not a problem anymore: https://github.com/status-im/nim-blscurve/blob/cfeb6ec4fdd8b69ad6e414ead8ef2d05de886b58/blscurve/bls_sig_io.nim#L30-L40
For crypto, it's valuable to know that most routines are side-effect free and pure math.
However at the moment, even
init
/fromBytes
cannot be tagged as func/noSideEffect.