Posts

Showing posts from May, 2017

Facebook Apps Development with OAuth

Image
Nowadays Facebook apps are very popular among the people. There are various types of apps developed by many people. These apps are built most of the time for entertaining purposes. If you have a Facebook account you can access that app without any issue. But do you know how we able to access an app which was developed by unknown person? That’s the point the OAuth word comes to our topic. Actually what is this OAuth or Open Authorization mean?   OAuth is a framework for delegated authorization. It’s a protocol to access an external party.   It allows an end user’s account information to be used by third-party services, such as Facebook / Twitter, without exposing the user’s password. Let's see how this OAuth protocol is work.. (Have look at on this diagram) In this blog post I’m going to show you how to create a simple Facebook application using OAuth. Step 1: Registering the Client App in Facebook Developer Website First g...

Introduction to Hashing

Image
What is Hashing? Hashing is a technique used to transform a variable length input into a fixed-length output. The output value is known as a hash value, message digest or digital fingerprint. This is a one-way mathematical function that is relatively easy to compute, but significantly harder to reverse.  Hashing is designed to verify and ensure; Data Integrity Authentication Where to use hash? Storing passwords in software systems Ensuring the integrity of messages during communication Creating indexes in databases  Examples for HASH functions … MD5 SHA1 What is salting? In password protection, salt is a random string of data used to modify a password hash. Salt can be added to the hash to prevent a collision by uniquely identifying a user's password, even if another user in the system has selected the same password. Salt can also be added to make it more difficult for an attacker to break into a system by using password hash-matching str...