Visual cryptography with matlab random grid

Yuxian: CSDN content partner, CSDN rising star mentor, rising star creator in the full stack field, 51CTO (Top celebrity + expert blogger), github open source enthusiast (go-zero source code secondary development, game back-end architecture https: //github.com/Peakchen)

Visual password is an authentication method based on the visual characteristics of the human eye, of which random grid visual password is one of the common implementation methods. Below I will explain the principle of random grid visual cryptography in detail, including the underlying architecture and flow chart, while providing a Matlab code example implementation, and introducing some relevant literature materials and products currently in use.

Principle explanation:

The principle of random grid visual password is to authenticate through randomly generated grid patterns and user-entered passwords. Here are the basic principles of this approach:

  1. Grid generation : First, a random grid pattern is generated in the authentication system. A grid pattern consists of a series of horizontal and vertical line segments whose intersections form the nodes of the grid. Nodes can be marked as valid nodes (valid authentication points) or invalid nodes (invalid authentication points).

  2. Password setting : Users need to select some nodes on the grid pattern as their password. These nodes are usually valid nodes. Users select password nodes on the grid pattern according to pre-agreed rules.

  3. Authentication process : When a user authenticates, the system displays a randomly generated grid pattern containing some valid and invalid nodes. Users need to select their password nodes in a grid pattern based on their pre-set passwords.

Guess you like

Origin blog.csdn.net/feng1790291543/article/details/132799959