Click here to Skip to main content
13,198,465 members (65,980 online)
Click here to Skip to main content
Add your own
alternative version


9 bookmarked
Posted 15 Apr 2013

Simple Password Manager with Google API validation

, 15 Apr 2013
Rate this:
Please Sign up or sign in to vote.
This is an alternative for "Simple Password Manager Using System.Security"


The core engine of this tip can be found here ( For sure, this is a tremendous utility application to manage the different passwords that we need to remember. Furthermore, the simpler approach of the code helps the beginner get a faster and firmer jumpstart into .NET cryptography namespace and security concepts.

This is an extension tip for the primary one ( All original credits to the original author 


The intent of this extension article is to help it augment the functionality of determining the strength of the password against the industry standard Google's API. The selected password is queried against Google webservice and based on the response received, an appropriate message is shown to the user. Google's Password API is straight-forward and simple. It takes the password as a string (querystring) and returns a number from 1 through 4 indicating poor to strong.  This article uses WebClient.DownloadString to grab the output, determine the strength and show the same to the user.

Using the code

I have also made two other minor changes in the code. Cryptocore.cs declares a few of the members as protected whereas the class itself is declared sealed. This will trigger a compiler warning because the protected access modifier does not sound logical on a sealed class. I have fixed this by changing the access modifier to private. 

I hope that the primary article and the extension would be of good value for developers and users alike.  

Points of Interest

People can consider improving the UI for password entry depending on the webservice' output. I have been using either WebClient DownloadData or DownloadFile hitherto and now I discovered that for simple output, we now have a WebClient.DownloadString that does the trick. Remember but it just returns the body of the response. 


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Vasudevan Deepak Kumar
Software Developer
India India
Vasudevan Deepak Kumar is from Chennai, India who has been in the programming career since 1994, when he was 15 years old. He has his Bachelors of Engineering (in Computer Science and Engineering) from Vellore Engineering College. He also has a MBA in Systems from Alagappa University, Karaikudi, India.
He started his programming career with GWBasic and then in his college was involved in developing programs in Fortran, Cobol, C++. He has been developing in Microsoft technologies like ASP, SQLServer 2000.
His current focus is ASP.NET, C#, VB.NET, PHP, SQL Server and MySQL. In his past-time, he listens to polite Carnatic Music. But the big question is that with his current Todolist backlog, does he get some past time?

You may also be interested in...


Comments and Discussions

GeneralMy vote of 3 Pin
Sudhakar Shinde23-Apr-13 5:18
memberSudhakar Shinde23-Apr-13 5:18 
GeneralMy vote of 1 Pin
kiquenet.com22-Apr-13 20:25
memberkiquenet.com22-Apr-13 20:25 
GeneralRe: My vote of 1 Pin
u-li22-Apr-13 21:52
memberu-li22-Apr-13 21:52 
There is a "browse code" tab now in CodeProject where you can see all files online.

It's a new feature and may be overlooked.

GeneralRe: My vote of 1 Pin
Gremoire3-Feb-14 1:13
memberGremoire3-Feb-14 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171020.1 | Last Updated 15 Apr 2013
Article Copyright 2013 by Vasudevan Deepak Kumar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid