passwords

passwords - Password Pat - - Password Pat is known for...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Page 1 Password Pat -------- --- Password Pat is known for making slick passwords such as which is derived from the sentence At Hogwarts we love to roast tyrants and tea kettles. by applying the following rules while reading the sentence: (1) On reading a non-special word, output its first letter in lower case. (2) The special words and the single character to output are: or|one1 not!two2 equal=three3 plus+four4 minus-five5 times*six6 slash/seven7 dollar$eight8 percent%nine9 [email protected] for4 ate8 Note these words are recognized even if some of their letters are capitals. (3) On reading space characters, output nothing. ( (4) On reading punctuation, output the punctuation, except on reading a period output nothing. (5) Numbers are not permitted in the sentence (unless spelled out as words). Pat does not limit herself to a single input sentence. For example, the input fairly!squarely!I won? produces the password:f!s!iw?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/29/2011 for the course IT 201 taught by Professor K.v.arya during the Spring '11 term at IIT Kanpur.

Page1 / 3

passwords - Password Pat - - Password Pat is known for...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online