Encryption is used to digitally scramble data as it passes between a user's device and an online service in order to prevent others eavesdropping on the information.It is used by many, but not all, sites that show a little padlock and use a web address beginning HTTPS. The "S" stands for secure.