Data hacking has become one of the anxiety issue in this modern era. Therefore, we have to prevent this illegal data hacking, theft at any cost. For ensuring data integrity, there are many methods including backups, encryption, access control, etc. We have presented an encryption methodology without merging the existing methods. By using the number conversion system and a defined mathematical calculation equation is the key to encrypt the password of the users. The password and date of birth are inputted by the users during the signup process. The encryption of the passwords has been stored into the database and manual calculation for the same cardinalities provides the same result. We have achieved an accuracy of 96% which is good as well as promising. Encryption is using in every sector to protect data and it has a wide range of future to work with it.