Open RdeWilde opened 4 years ago
That's definitely one of the approaches I considered, but at this point I'm not really sure what the API is going to look like in the end. I'm going to push on with implementing primitives and modes, and then try see how to combine them all together. Let's keep this issue open for discussion in the future.
I have no clue if it would be even possible, but I noticed that the current implementation uses a lot of
Array<UByte>
andArray<UInt>
. It could be more explicit to use custom data types like Sha256Digest and/or Sha256Hash?