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 . 194K 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
Warren Buffet doesn't use an iPhone but wants to own 100% of Apple

NEW DELHI: Warren Buffet, the billionaire chairman of Berkshire Hathaway, has said that he wants to own 100 per cent stake in tech giant Apple. In ...

Recently posted. 549 views . 2 min read
 

 Article
Nikki Haley Quits As UN Ambassador After 18-Month Stint

Nikki Haley was governor of South Carolina when she was tapped by Donald Trump to be the US envoy to the United Nations  

Recently posted. 656 views . 1 min read
 

 Article
World set to pay high price for US president Donald Trump's sordid romance with Pakistan PM Imran Khan

In the first moments of the life of the Islamic Emirate of Afghanistan, Muhammad Najibullah Ahmadzai was dragged out of the United Nations compound where he had tak...

Recently posted. 510 views . 2 min read
 

 Video
The Village With Small Feet



Recently posted . 697 views
 

 Photo
15 Top Space Photos of the Year



Recently posted . 1K views
 

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



Recently posted . 1K views . 99 min read
 

 Reviews
The Best 5 Hiking Backpacks in India – Reviews & Buying Guide



Recently posted . 1K views . 140 min read
 

 Article
Jailed Former Pak PM Nawaz Sharif's Wife Dies In London Hospital

Begum Kulsoom was under going treatment at London's Harley Street Clinic since June 2014 and was placed on life support earlier in the day. &nb...

Recently posted. 659 views . 1 min read
 

 Article
Syria troops, backed by Russian jets recapture antiquated Palmyra from Islamic State

yrian troops sponsored by Russian planes finished the recover of the noteworthy city of Palmyra from the Islamic State  group Thursday, the Kremlin and the a...

Recently posted. 956 views . 46 min read
 

 
 
 

   Prashnavali

  Thought of the Day

“Smiling is the best way to face every problem, to crush every fear and to hide every pain.”
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