Password security level validation based on Hadoop

Source: Internet
Author: User
Keywords Password security password level number very

Learning Hadoop for a while, while writing a lot of demos, is for a single knowledge point to do the validation, today write a complete application--based on Hadoop http://www.aliyun.com/zixun/aggregation/12088.html "> Password security level validation."

The password security level is prompted below when you register a user on many sites. As shown in the following illustration:

Generally through the algorithm to obtain password security level, but recognized as the least secure password passw0rd! will also be considered safe.

I remember a few years ago, a forum password leak event, so from the Internet to find the data of the year (all text files, one record per line, just can use Hadoop), began to develop this program.

The program is divided into three parts:

The Hadoop cluster analyzes the number of times each password is used and stores the results in the HBase database in < passwords, Times >.

Java WebService External Supply query password to use the number of interfaces, the entry parameters for the password string, out of the number of parameters. The interface calls the HBase API to query the number of times from the top HBase library and returns.

The Java WebService interface is invoked on the Web page to get the number of times the user has entered the password, and the password security level is displayed according to the custom rule.

The process flow is roughly as follows:

Part of the program code has been uploaded github.

Https://github.com/dipwater/HadoopProject/tree/master/PasswordCheck

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.