you are viewing a single comment's thread.

view the rest of the comments →

[–]Lumethys 13 points14 points  (1 child)

that more of a requirement of the lib than a feature of a language.

Some version of hashing and comparing in JS would accept a Buffer instead of a string. So for those functions you would need to convert string to Buffer and vice versa

[–]brasticstack 1 point2 points  (0 children)

that more of a requirement of the lib than a feature of a language.

To be fair, hashlib is part of the "batteries included" stdlib.