The review of std.hash package

José Armando García Sancio jsancio at gmail.com
Wed Aug 15 12:38:23 PDT 2012


On Wed, Aug 15, 2012 at 8:11 AM, ReneSac <reneduani at yahoo.com.br> wrote:
>
> Note that in the Python passlib, there is no mention to CRC, FNV, ROT13,
> etc. Their place is different.

Thats because it is a "password module" and nobody or a small
percentage of the population uses CRC for password digest. Note that
the Python passlib module also has archaic plaintext encodings mainly
for interacting with legacy systems.

The basic point is that std.digest/std.hash (whatever people decide)
should probably just have generic digesting algorithm. The user can
decided which one to use given their requirements. Also, it would be
beneficial if the module also includes a section where it recommends
digest based on the current landscape of computing. High-level
documentation and suggestions are easy to change; APIs are not.

Thanks,
-Jose


More information about the Digitalmars-d mailing list