Latest News

  • Home
  • Global
  • How Do Websites Remember So Many Usernames and Passwords?
How Do Websites Remember So Many Usernames and Passwords?
Wednesday, May 22, 2019 IST
How Do Websites Remember So Many Usernames and Passwords?

Have You Ever Wondered...
-- How do websites remember so many usernames and passwords?
-- How many bytes of information do usernames and passwords take up?
-- How much text adds up to a gigabyte of storage?

 
 

Do you have a favorite website you like to visit on a regular basis? Of course you do! It's Wonderopolis! But we actually meant a favorite site other than Wonderopolis…
 
Some people like to watch funny cat videos while others might prefer to do some online shopping. Sports fans might visit the sites of their favorite teams to relive past days of glory. Music fans might check out their favorite artists online to listen to music and watch videos of concert performances.
 
If you spend much time on the World Wide Web (that's where that ubiquitous www comes from, by the way), there are a couple of things you're sure to run into over and over again: usernames and passwords. Most people have a wide variety of usernames and passwords they use for various sites they visit frequently.
 
Creating unique usernames and passwords is an important step in protecting your online identity. You don't want others to guess your username and password. With that information, they could purchase things online using your money. They could also post inappropriate or embarrassing things on social media using your account.
 
If you have several usernames and passwords for different sites, you've probably already realized how difficult it can be to remember all the different combinations. But what about all those websites? Social media sites, such as Twitter and Facebook, receive millions upon millions of visitors daily. How do these websites remember all those usernames and passwords to verify everyone's online identity?
 
Fortunately, unlike us humans who have to use our brains to remember things, websites rely upon advanced computers with huge memory capacities to store all those usernames and passwords in databases. Moreover, all those usernames and passwords don't necessarily take up all that much space in the grand scheme of things.
 
The basic unit of computer memory is the byte, which is equal to a single alphanumeric character. If your username is "wonderfriend" and your password is "w0nd3rfr13nd," then those 24 alphanumeric characters take up 24 bytes of memory.
 
Some people use shorter usernames and passwords, while others choose longer, more complicated usernames and passwords to bolster Internet security. For the purpose of learning more about memory, though, let's assume that everyone uses a username and password combination that adds up to 24 characters, which would equal 24 bytes of memory.
 
A byte is actually a tiny unit of memory in today's computing world. Today's computers and hard drives measure memory in much larger quantities. Let's take a look at a few of the most common units.
 
A kilobyte (kb) equals 1,024 bytes. One kilobyte of memory would thus hold a little over 42 username and password combinations. A megabyte (mb) equals 1,024 kilobytes. Using basic multiplication, we can calculate that one megabyte of memory would hold over 43,000 username and password combinations.
 
 

 
 

A megabyte still isn't much memory these days, though. Today's computers and devices usually have memory capacities measured in gigabytes (gb) and terabytes (tb). There are 1,024 megabytes in one gigabyte, and there are 1,024 gigabytes in one terabyte.
 
Continuing our use of basic multiplication, we can calculate that one gigabyte of memory could hold over 44 million username and password combinations. If you have a smartphone with a capacity of 64 gigabytes, it could hold nearly 3 billion username and password combinations.
 
Since websites are hosted on advanced computers with storage capacities that exponentially exceed those of a smartphone, you can see how easy it is to store a few hundred million usernames and passwords!

 
 
 
 
 

Related Topics

 
 
 

Trending News & Articles

 Article
'Worse than prison': A rare look inside China's detention camps to 'brainwash' Muslims

ALMATY: Hour upon hour, day upon day, Omir Bekali and other detainees in far western China's new indoctrination camps had to disavow the...

Recently posted . 199K views . 1 min read
 

 Article
What The Shape Of Your Belly Button Says About Your Health

If you have payed attention to the belly buttons of people on the beach or the members of your family, you have probably noticed that they have different shapes and...

Recently posted . 8K views . 2 min read
 

 Article
Top 10 Horrifying Acts of Chemical Warfare and Gas Attacks

In this age of terror, there might be nothing more terrifying than the thought of an attack carried out with chemical weapons. We’ve all heard the horrific ...

Recently posted . 3K views . 4 min read
 

 Article
Top 10 Best Gym Equipment Brands in India 2018

Body fitness is one thing that everyone wants to maintain irrespective of age. Going to the gym and doing some great exercise always helps to maintain your body fit...

Recently posted . 3K views . 2 min read
 

 
 

More in Global

 Article
8 civilians dead and 28 injured after suicide bomber targets NATO convoy : Kabul

A suicide bombing in the Afghan capital Kabul on Wednesday killed eight individuals and injured no less than 28, officials said, in an assault on a convoy of armore...

Recently posted. 628 views . 10 min read
 

 Article
इंग्लैंड तट के पास अनोखा 'देश' सीलैंड

यह कहानी एक ईमेल से शुरू होती है जिसे मैं कभी नहीं भूलूंगा. मई महीने की एक सुबह सीलैंड के प्रिंस माइकल का संदेश आया था- "आप मुझसे बात कर सकते हैं."

Recently posted. 216 views . 1 min read
 

 Article
These Brands Did Marketing So Well That People Have Forgot The Original Product Names

Every word that we use in our life has a story behind its origination. While most words are taken from other languages and translated in a better way, there are wor...

Recently posted. 581 views . 2 min read
 

 Video
Robberies in Future..... 🤔



Recently posted . 724 views
 

 Reviews
The Best 5 Camping Tents in India 2018 – Reviews & Buying Guide



Recently posted . 1K views . 99 min read
 

 Article
Bangladesh rules women need not say if virgins on marriage certificates

Marriage laws in the Muslim-majority country in South Asia had required a bride had to state on her marriage certificate if she was a "kumari" — mea...

Recently posted. 633 views . 1 min read
 

 Article
Corralled and constrained, Pakistan struggles to find feet against US

WASHINGTON: Crossed red lines, jumped red lights and a relationship that is anything but red hot. The already frigid and flaccid ties between the...

Recently posted. 621 views . 3 min read
 

 
 
 

   Prashnavali

  Thought of the Day

Obstacles are things a person sees when he takes his eyes off his goal.
Anonymous

Be the first one to comment on this story

Close
Post Comment
Shibu Chandran
2 hours ago

Serving political interests in another person's illness is the lowest form of human value. A 70+ y old lady has cancer.

November 28, 2016 05:00 IST
Shibu Chandran
2 hours ago

Serving political interests in another person's illness is the lowest form of human value. A 70+ y old lady has cancer.

November 28, 2016 05:00 IST
Shibu Chandran
2 hours ago

Serving political interests in another person's illness is the lowest form of human value. A 70+ y old lady has cancer.

November 28, 2016 05:00 IST
Shibu Chandran
2 hours ago

Serving political interests in another person's illness is the lowest form of human value. A 70+ y old lady has cancer.

November 28, 2016 05:00 IST


ads
Back To Top