Can we hide SHA1 or MD5?

Those should be used by the compiler only but we shouldn't expose those to the 
public especially under the very misleading name `secureHash`.

Regarding perf at first glance I don't see why the Nim stdlib with danger would 
that much slower than Python unless Python is vectorized.

Given that Nimcrypto will undergo audit (but on SHA2 not SHA1) I strongly 
suggest that hashes use Nimcrypto: 
[https://github.com/cheatfate/nimcrypto/blob/master/nimcrypto/sha.nim](https://github.com/cheatfate/nimcrypto/blob/master/nimcrypto/sha.nim)

Reply via email to