{"id":639,"date":"2014-01-23T14:54:22","date_gmt":"2014-01-23T14:54:22","guid":{"rendered":"http:\/\/www.opensource.im\/?p=639"},"modified":"2014-01-23T14:54:22","modified_gmt":"2014-01-23T14:54:22","slug":"an-overview-of-cryptography-gary-c-kessler","status":"publish","type":"post","link":"https:\/\/euvolution.com\/open-source-convergence\/cryptography\/an-overview-of-cryptography-gary-c-kessler.php","title":{"rendered":"An Overview of Cryptography &#8211; Gary C. Kessler"},"content":{"rendered":"<p><p>    Does increased security provide comfort to paranoid    people? Or does security provide some very basic protections    that we are naive to believe that we don't need? During this    time when the Internet provides essential communication between    tens of millions of people and is being increasingly used as a    tool for commerce, security becomes a tremendously important    issue to deal with.  <\/p>\n<p>    There are many aspects to security and many applications,    ranging from secure commerce and payments to private    communications and protecting passwords. One essential aspect    for secure communications is that of cryptography, which is the    focus of this chapter. But it is important to note that while    cryptography is necessary for secure communications, it    is not by itself sufficient. The reader is advised,    then, that the topics covered in this chapter only describe the    first of many steps necessary for better security in any number    of situations.  <\/p>\n<p>    This paper has two major purposes. The first is to define    some of the terms and concepts behind basic cryptographic    methods, and to offer a way to compare the myriad cryptographic    schemes in use today. The second is to provide some real    examples of cryptography in use today.  <\/p>\n<p>    I would like to say at the outset that this paper is very    focused on terms, concepts, and schemes in current use    and is not a treatise of the whole field. No mention is made    here about pre-computerized crypto schemes, the difference    between a substitution and transposition cipher, cryptanalysis,    or other history. Interested readers should check out some of    the books in the references section below    for detailed  and interesting!  background    information.  <\/p>\n<p>    Cryptography is the science of writing in secret code and    is an ancient art; the first documented use of cryptography in    writing dates back to circa 1900 B.C. when an Egyptian scribe    used non-standard hieroglyphs in an inscription. Some experts    argue that cryptography appeared spontaneously sometime after    writing was invented, with applications ranging from diplomatic    missives to war-time battle plans. It is no surprise, then,    that new forms of cryptography came soon after the widespread    development of computer communications. In data and    telecommunications, cryptography is necessary when    communicating over any untrusted medium, which includes just    about any network, particularly the Internet.  <\/p>\n<p>    Within the context of any application-to-application    communication, there are some specific security requirements,    including:  <\/p>\n<p>    Cryptography, then, not only protects data from theft or    alteration, but can also be used for user authentication. There    are, in general, three types of cryptographic schemes typically    used to accomplish these goals: secret key (or symmetric)    cryptography, public-key (or asymmetric) cryptography, and hash    functions, each of which is described below. In all cases, the    initial unencrypted data is referred to as plaintext. It    is encrypted into ciphertext, which will in turn    (usually) be decrypted into usable plaintext.  <\/p>\n<p>    In many of the descriptions below, two communicating    parties will be referred to as Alice and Bob; this is the    common nomenclature in the crypto field and literature to make    it easier to identify the communicating parties. If there is a    third or fourth party to the communication, they will be    referred to as Carol and Dave. Mallory is a malicious party,    Eve is an eavesdropper, and Trent is a trusted third    party.  <\/p>\n<p>    There are several ways of classifying cryptographic    algorithms. For purposes of this paper, they will be    categorized based on the number of keys that are employed for    encryption and decryption, and further defined by their    application and use. The three types of algorithms that will be    discussed are (Figure 1):  <\/p>\n<p>    With secret key cryptography, a single key is used    for both encryption and decryption. As shown in Figure 1A, the    sender uses the key (or some set of rules) to encrypt the    plaintext and sends the ciphertext to the receiver. The    receiver applies the same key (or ruleset) to decrypt the    message and recover the plaintext. Because a single key is used    for both functions, secret key cryptography is also called    symmetric encryption.  <\/p>\n<p><!-- Auto Generated --><\/p>\n<p>Excerpt from:<\/p>\n<p><a target=\"_blank\" href=\"http:\/\/www.garykessler.net\/library\/crypto.html\" title=\"An Overview of Cryptography - Gary C. Kessler\">An Overview of Cryptography - Gary C. Kessler<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> Does increased security provide comfort to paranoid people? Or does security provide some very basic protections that we are naive to believe that we don't need? During this time when the Internet provides essential communication between tens of millions of people and is being increasingly used as a tool for commerce, security becomes a tremendously important issue to deal with<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1600],"tags":[],"class_list":["post-639","post","type-post","status-publish","format-standard","hentry","category-cryptography"],"_links":{"self":[{"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/posts\/639"}],"collection":[{"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/comments?post=639"}],"version-history":[{"count":0,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/posts\/639\/revisions"}],"wp:attachment":[{"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/media?parent=639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/categories?post=639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/euvolution.com\/open-source-convergence\/wp-json\/wp\/v2\/tags?post=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}