11-07-2023 дата публикации
Номер: CN116415281A
Принадлежит:
The invention discloses an authority control method and system based on improved last check and a dual hash function, and the method comprises the steps: creating a role, and forming a role numerical value A through authority numerical values; generating a check code B for the role value A, and generating an independent check code C for the role value A based on a dual hash function; when it is needed to judge whether the user has the corresponding permission, verifying the consistency between the user permission value and the check code B, verifying the consistency between the user permission value and the check code C, and using the role corresponding to the role value A after verification is passed; according to the method, check codes are correspondingly generated based on the improved last check and double hash technology, the check codes are separately stored, consistency verification is carried out through the two check codes, roles are used after verification is passed, the authority ...
Подробнее