Researchers find the secret to a perfectly secure password is poetry

Passwords are the most annoying thing to remember. If you are the safe type, you probably have very complex combinations of letters, digits and symbols to create an unbreachable key to your accounts, but that's easy to mix up, especially since you should have a different one for each login. On the other hand, if you are the lazy type (like most of us) and only have one very simple password for all your websites, apps and accounts, you may have an easier time remembering it but this makes you very vulnerable to cyber attacks.

While the perfect password that is a balance between safety and ease is like a unicorn, researchers found that the best way to create one that you are not going to forget but that is also hard to crack is to use poetry. According to the Washington Post, Marjan Ghazvininejad and Kevin Knight of the University of Southern California came up with a paper that provides humanity with the latest solution to such problem: randomly generated poems. Poetry has been used for thousands of years as a method to memorize things, from extremely long epic poems to novels that use meter or rhyme.

The researchers created a program that generates such random poems by assigning every word in a dictionary to a distinct code. The program outputs a very long number, which is then broken down in smaller codes and the computer translates these codes into two short phrases. Here are some examples:

RELATED: See inside Facebook's data centers where all your information is stored:

16PHOTOS

Inside Facebook Data Centers

See Gallery

Researchers find the secret to a perfectly secure password is poetry

Joel Kjellgren, Data Center Manager walks in one of the server rooms at the new Facebook Data Center, its first outside the US on November 7, 2013 in Lulea, in Swedish Lapland. The company began construction on the facility in October 2011 and went live on June 12, 2013 and are 100% run on hydro power. AFP PHOTO/JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)

Signage stands outside the Facebook Inc. Prineville Data Center in Prineville, Oregon, U.S., on Monday, April 28, 2014. The Facebook Prineville Data Center features leading energy-efficient technology, including features such as rainwater reclamation, a solar energy installation for providing electricity to the office areas and reuse of heat created by the servers to heat office space. Photographer: Meg Roussos/Bloomberg via Getty Images

A Facebook Inc. flag flies next to a U.S. flag outside the company's Prineville Data Center in Prineville, Oregon, U.S., on Monday, April 28, 2014. The Facebook Prineville Data Center features leading energy-efficient technology, including features such as rainwater reclamation, a solar energy installation for providing electricity to the office areas and reuse of heat created by the servers to heat office space. Photographer: Meg Roussos/Bloomberg via Getty Images

Signage made up of individual faces is displayed inside the Facebook Inc. Prineville Data Center in Prineville, Oregon, U.S., on Monday, April 28, 2014. The Facebook Prineville Data Center features leading energy-efficient technology, including features such as rainwater reclamation, a solar energy installation for providing electricity to the office areas and reuse of heat created by the servers to heat office space. Photographer: Meg Roussos/Bloomberg via Getty Images

The silhouette of an employee is seen standing in front of a cooling system that pulls air in from outside at the Facebook Inc. Prineville Data Center in Prineville, Oregon, U.S., on Monday, April 28, 2014. The Facebook Prineville Data Center features leading energy-efficient technology, including features such as rainwater reclamation, a solar energy installation for providing electricity to the office areas and reuse of heat created by the servers to heat office space. Photographer: Meg Roussos/Bloomberg via Getty Images

An employee puts in a filter that protects against pollen, bugs, and dust from the outside air that is pulled in at the Facebook Inc. Prineville Data Center in Prineville, Oregon, U.S., on Monday, April 28, 2014. The Facebook Prineville Data Center features leading energy-efficient technology, including features such as rainwater reclamation, a solar energy installation for providing electricity to the office areas and reuse of heat created by the servers to heat office space. Photographer: Meg Roussos/Bloomberg via Getty Images

An employee fixes part of a web server inside the Facebook Inc. Prineville Data Center in Prineville, Oregon, U.S., on Monday, April 28, 2014. The Facebook Prineville Data Center features leading energy-efficient technology, including features such as rainwater reclamation, a solar energy installation for providing electricity to the office areas and reuse of heat created by the servers to heat office space. Photographer: Meg Roussos/Bloomberg via Getty Images

Joel Kjellgren, Data Center Manager opens a server in one of server rooms at the new Facebook Data Center, its first outside the US on November 7, 2013 in Lulea, in Swedish Lapland. The company began construction on the facility in October 2011 and went live on June 12, 2013 and are 100% run on hydro power. AFP PHOTO/JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)

This picture taken with a fisheye lens shows a man walks past a big logo created from pictures of Facebook users worldwide in the company's Data Center, its first outside the US on November 7, 2013 in Lulea, in Swedish Lapland. The company began construction on the facility in October 2011 and went live on June 12, 2013 and are 100% run on hydro power. AFP PHOTO/JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)

Thousands of servers are pictured at the new Facebook Data Center, its first outside the US on November 7, 2013 in Lulea, in Swedish Lapland. The company began construction on the facility in October 2011 and went live on June 12, 2013 and are 100% run on hydro power. AFP PHOTO/JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)

This picture taken with a fisheye lens shows the Evaporator Room of the first server rooms in the new Facebook Data Center, its first outside the US on November 7, 2013 in Lulea, in Swedish Lapland. The company began construction on the facility in October 2011 and went live on June 12, 2013 and are 100% run on hydro power. AFP PHOTO/JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)

The Relief Room of the first server rooms is pictured in the new Facebook Data Center, its first outside the US on November 7, 2013 in Lulea, in Swedish Lapland. The company began construction on the facility in October 2011 and went live on June 12, 2013 and are 100% run on hydro power. AFP PHOTO/JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)

Employees work at the new Facebook Data Center, its first outside the US on November 7, 2013 in Lulea, in Swedish Lapland. The company began construction on the facility in October 2011 and went live on June 12, 2013 and are 100% run on hydro power. AFP PHOTO/JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)

Signage is reflected in a window at the Facebook Inc. Prineville Data Center in Prineville, Oregon, U.S., on Monday, April 28, 2014. The Facebook Prineville Data Center features leading energy-efficient technology, including features such as rainwater reclamation, a solar energy installation for providing electricity to the office areas and reuse of heat created by the servers to heat office space. Photographer: Meg Roussos/Bloomberg via Getty Images

Joel Kjellgren, Data Center Manager shows a server in one of server rooms at the new Facebook Data Center, its first outside the US on November 7, 2013 in Luleaa, Swedish Lapland. The company began construction on the facility in October 2011 and went live on June 12, 2013 and are 100% run on hydro power. AFP PHOTO/JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)