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 . 209K 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 . 10K views . 2 min read
 

 Article
New ‘Langya’ virus hits China as 35 people found infected: How deadly is it?

The Langya henipavirus has a place with a similar group of infections, including Nipah, which is known to kill up to 3/4 of people in extreme cases.

Recently posted . 5K views . 1 min read
 

 Article
Queen Elizabeth Dies At 96: The New Royal Line Of Succession

Queen's death: The eldest of her four children, Charles, Prince of Wales, who at 73 was the oldest heir apparent in British history, became king immediately...

Recently posted . 5K views . 1 min read
 

 
 

More in Global

 Article
‘Human computer’ Katherine Johnson dies at 101

She was the inspiration for the movie Hidden Figures and calculated the flight paths for NASA’s early missions

Recently posted. 704 views . 0 min read
 

 Article
"Ghost" Footprints Hiding Since End Of Ice Age Found Using Special Radar

The researchers examined the footprints of humans, mammoths and giant sloths in the White Sands National Monument in New Mexico.  

Recently posted. 631 views . 1 min read
 

 Article
Syria chemical attack reports : United Nations chief 'deeply disturbed'

United Nations: UN Secretary-General Antonio Guterres is "profoundly bothered" by reports of a suspected chemical attack on Syria yet is not in a position...

Recently posted. 1K views . 14 min read
 

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



Recently posted . 3K views . 99 min read
 

 Article
Kashmir Banega Pakistan: A dream sold to brainwash us since childhood now lies in tatters

30 years on, Pakistan’s Kashmir policy has borne no fruits for regular Pakistanis, other than polarising society and instilling hate against India.

Recently posted. 850 views . 1 min read
 

 Article
Florida Man Catches Oldest Grouper Fish On Record. Here's How Old It Was

Jason Boyll, an amateur fisherman, caught the 160 kilograms grouper.

Recently posted. 899 views . 0 min read
 

 
 
 

   Prashnavali

  Thought of the Day

मुस्कराना जिन्दगी का वो खुबसूरत लम्हा है, जिसका अंदाज सब रिश्तो से अलबेला है जिसे मिल जाये वो तन्हाई में भी खुश और जिसे ना मिले वो भीड़ में भी अकेला है
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