Two parts of one article about hashing algorithms in Node.js - What Is The Best Algorithm (Bcrypt, Scrypt, SHA512, Argon2) For Password Hashing In Node.js?

Links:
Part 1
Part 2

Not only common algorithms/npm modules (Bcrypt, Scrypt, SHA512, Argon2) are described by the author but pros/cons of them and benchmarks. So you can choose what to use in your Node.js application.

If you want to know more about Node.js, JavaScript, software architecture and much more -
subscribe to Tech Read channel.
Likes and shares of the post are welcome.

#nodejs #algorithms #hash
👍3
Why does the search for the shortest route on the map take so fast?

One of the “secrets” is the A* algorithm is a pathfinding algorithm used to find the shortest path between two points on a graph or map. It uses a heuristic approach that estimates the distance between a given point and the destination to guide the search for the shortest path. The algorithm is widely used in video games and robotics for navigation. To use the A* algorithm on a map, we first represent the map as a graph, divide it into nodes, and create edges between them. Then, we assign a heuristic value to each node, estimating the distance between that node and the destination. The algorithm starts at the starting point, evaluates neighboring nodes, adds them to an open list, selects the node with the lowest cost, and explores its neighboring nodes. This process continues until the algorithm reaches the destination node.

More about this algorithm in YouTube video - The hidden beauty of the A* algorithm

For more info - subscribe to Tech Read channel.
Likes, shares and recommendations are welcome.

#algorithms
👍1