[Cuis-dev] Adding SHA-256

Philip Bernhart philip.bernhart at posteo.de
Mon May 4 22:46:14 PDT 2020


Hi Casey,

Casey Ransberger via Cuis-dev <cuis-dev at lists.cuis.st> writes:

> Quick top post: If we’re replacing a cryptographic function,
> we should probably make sure we have a crapload of unit tests.

SHA256 is a hash function. And the change is not about replacing
it, but about _adding_ it. So Cuis then has algorithms for sha1,
sha256 and DSA.

SHA1 has three tests, the now added sha-256 has six tests. The
Digital signature algorithm (DSA) has no tests. So the current
state of the matter is not ideal to begin with.


My 0.02 EUR,
Philip



More information about the Cuis-dev mailing list