Cryptographic primitive

Cryptographic primitives are well-established, low-level cryptographic algorithms that are frequently used to build cryptographic protocols for computer security systems.[1] These routines include, but are not limited to, one-way hash functions and encryption functions.

Rationale

When creating cryptographic systems, designers use cryptographic primitives as their most basic building blocks. Because of this, cryptographic primitives are designed to do one very specific task in a precisely defined and highly reliable fashion.

Since cryptographic primitives are used as building blocks, they must be very reliable, i.e. perform according to their specification. For example, if an encryption routine claims to be only breakable with X number of computer operations, and it is broken with significantly fewer than X operations, then that cryptographic primitive has failed. If a cryptographic primitive is found to fail, almost every protocol that uses it becomes vulnerable. Since creating cryptographic routines is very hard, and testing them to be reliable takes a long time, it is essentially never sensible (nor secure) to design a new cryptographic primitive to suit the needs of a new cryptographic system. The reasons include:

  • The designer might not be competent in the mathematical and practical considerations involved in cryptographic primitives.
  • Designing a new cryptographic primitive is very time-consuming and very error-prone, even for experts in the field.
  • Since algorithms in this field are not only required to be designed well but also need to be tested well by the cryptologist community, even if a cryptographic routine looks good from a design point of view it might still contain errors. Successfully withstanding such scrutiny gives some confidence (in fact, so far, the only confidence) that the algorithm is indeed secure enough to use; security proofs for cryptographic primitives are generally not available.

Cryptographic primitives are one of the building blocks of every cryptosystem, e.g., TLS, SSL, SSH, etc. Cryptosystem designers, not being in a position to definitively prove their security, must take the primitives they use as secure. Choosing the best primitive available for use in a protocol usually provides the best available security. However, compositional weaknesses are possible in any cryptosystem and it is the responsibility of the designer(s) to avoid them.

Combining cryptographic primitives

Cryptographic primitives are not cryptographic systems, as they are quite limited on their own. For example, a bare encryption algorithm will provide no authentication mechanism, nor any explicit message integrity checking. Only when combined in security protocols can more than one security requirement be addressed. For example, to transmit a message that is not only encoded but also protected from tinkering (i.e. it is confidential and integrity-protected), an encoding routine, such as DES, and a hash-routine such as SHA-1 can be used in combination. If the attacker does not know the encryption key, they cannot modify the message such that message digest value(s) would be valid.

Combining cryptographic primitives to make a security protocol is itself an entire specialization. Most exploitable errors (i.e., insecurities in cryptosystems) are due not to design errors in the primitives (assuming always that they were chosen with care), but to the way they are used, i.e. bad protocol design and buggy or not careful enough implementation. Mathematical analysis of protocols is, at the time of this writing, not mature.[citation needed] There are some basic properties that can be verified with automated methods, such as BAN logic. There are even methods for full verification (e.g. the SPI calculus) but they are extremely cumbersome and cannot be automated. Protocol design is an art requiring deep knowledge and much practice; even then mistakes are common. An illustrative example, for a real system, can be seen on the OpenSSL vulnerability news page here.

Commonly used primitives

See also

References

  1. ^ "Cryptographic primitive - Glossary CSRC". csrc.nist.gov. Retrieved 2021-09-19.
  • Levente Buttyán, István Vajda : Kriptográfia és alkalmazásai (Cryptography and its applications), Typotex 2004, ISBN 963-9548-13-8
  • Menezes, Alfred J : Handbook of applied cryptography, CRC Press, ISBN 0-8493-8523-7, October 1996, 816 pages.
  • Crypto101 is an introductory course on cryptography, freely available for programmers of all ages and skill levels.

Read other articles:

Voce principale: Serie C. In questa voce viene riportato l'albo d'oro del campionato di Serie C, con l'elenco delle squadre vincitrici del torneo (precedentemente Seconda Divisione fino al 1928-1929, Prima Divisione fino al 1934-1935 e Lega Pro dal 2014-2015 al 2016-2017) e delle altre promosse in Serie B. Il conteggio comprende tutte le stagioni a partire dalla nascita della terza serie nazionale, nel 1926-1927, sino allo sdoppiamento della categoria, avvenuto a conclusione della stagione 19...

 

The Sluggish TanakaSampul volume pertama yang menampilkan karakter utama Tanaka田中くんはいつもけだるげ(Tanaka-kun wa Itsumo Kedaruge)GenrePenggalan kehidupan, komedi MangaPengarangNozomi UdaPenerbitSquare EnixPenerbit bahasa IndonesiaElex Media KomputindoMajalahGangan OnlineDemografiShōnenTerbit26 April 2014 – sekarangVolume9 Seri animeSutradaraShin'ya KawatsuraSkenarioAkemi OmodeMusikHiromi MizutaniStudioSilver LinkPelisensiNA Sentai FilmworksSaluranasliTokyo MX, MBS, HTV, TV...

 

Артем Гордєєв Народився 15 вересня 1988(1988-09-15) (35 років)м. Уфа, СРСР Зріст 186 см Вага 98 кг Позиція центральний нападник Кидок лівий Клуб КХЛКол. команди Спартак МоскваСалават Юлаєв УфаТолпар УфаТорос Нефтекамськ Ігрова кар'єра 2007 — зараз У Вікіпедії є статті про інших людей із

A tradução deste artigo está abaixo da qualidade média aceitável. Talvez tenha sido feita por um computador ou alguém que não conhece bem o português ou a língua original. Caso queira colaborar com a Wikipédia, tente encontrar a página original e melhore este verbete conforme o guia de tradução. (Setembro de 2021) Esta biografia de uma pessoa viva cita fontes, mas que não cobrem todo o conteúdo. Ajude a inserir fontes confiáveis e independentes. Material controverso que esteja...

 

Рауль Дьянь Особисті дані Народження 10 листопада 1910(1910-11-10)   Сен-Лоран-дю-Мароні Смерть 10 листопада 2002(2002-11-10) (92 роки)   Кретей, Франція Зріст 187 см Громадянство  Франція Позиція захисник Професіональні клуби* Роки Клуб І (г) 1930–1940 «Расінг» (Париж) 175 (7) 1940–1942 «Ту...

 

Laureana Лауреана-ді-БорреллоLaureana di Borrello Комуна Країна  ІталіяРегіон КалабріяПровінція Реджо-КалабріяКод ISTAT 080042Поштові індекси 89023Телефонний код (+39)0966Координати 38°29′00″ пн. ш. 16°05′00″ сх. д. / 38.48333° пн. ш. 16.08333° сх. д. / 38.48333; 16.08333Координати...

Artikel ini mungkin mengandung riset asli. Anda dapat membantu memperbaikinya dengan memastikan pernyataan yang dibuat dan menambahkan referensi. Pernyataan yang berpangku pada riset asli harus dihapus. (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) Ejaan kalkulator merujuk pada teknik mengeja kata-kata dengan cara membaca karakter secara terbalik pada kalkulator yang dilengkapi dengan layar tujuh segmen. Ini merupakan salah satu bentuk dari transformasi teks. Deskripsi S...

 

Massachusett is an indigenous Algonquian language of the Algic language family. It was the primary language of several peoples of New England, including the Massachusett in the area roughly corresponding to Boston, Massachusetts, including much of the Metrowest and South Shore areas just to the west and south of the city; the Wampanoag, who still inhabit Cape Cod and the Islands, most of Plymouth and Bristol counties and south-eastern Rhode Island, including some of the small islands in Narra...

 

2016 Palauan general election ← 2012 1 November 2016 2020 → Presidential election   Nominee Tommy Remengesau Surangel Whipps Jr. Party Independent Independent Popular vote 5,129 4,865 Percentage 51.32% 48.68% Vice presidential election   Nominee Raynold Oilouch Yositaka Adachi Party Independent Independent Popular vote 5,222 4,646 Percentage 52.92% 47.08% President before election Tommy Remengesau Independent Elected President Tommy Remengesau Indepen...

Police vehicle in the streets of Jamaica Some areas of Jamaica, particularly population centers such as Kingston, Montego Bay and Spanish Town, experience high levels of crime and violence.[1] Jamaica has had one of the highest murder rates in the world for many years, according to United Nations estimates.[2] Former Prime Minister P. J. Patterson described the situation as a national challenge of unprecedented proportions.[3] Murder rate When Jamaica gained independen...

 

Gedung Parlemen di Lobamba Dewan Majelis EswatiniJenisJenisMajelis Rendah dari Parlemen Eswatini SejarahDidirikan1967PimpinanPembicaraPetros Mavimbela[1] sejak 11 Oktober 2018 Anggota76, saat ini 66Tempat bersidangLobambaSitus webDewan Majelis Eswatini L • BBantuan penggunaan templat ini Dewan Majelis Eswatini adalah majelis rendah dari Parlemen bikameral negara tersebut.[2] Majelis dapat memperdebatkan dan mengesahkan RUU.[3] Sejarah Dewan Majelis didirikan pad...

 

Underwater rail tunnel under San Francisco Bay Transbay TubeView into the Transbay TubeOverviewLine  Yellow Line  Blue Line  Green Line  Red LineLocationSan Francisco Bay, California, USCoordinatesOakland portal:37°48′32″N 122°18′58″W / 37.80889°N 122.31611°W / 37.80889; -122.31611SystemBay Area Rapid TransitStartEmbarcadero station, San FranciscoEndWest Oakland station, OaklandOperationOpenedSeptember 16, 1974 (1974-09-16...

For the color, see Shades of gray § Battleship gray. This article's tone or style may not reflect the encyclopedic tone used on Wikipedia. See Wikipedia's guide to writing better articles for suggestions. (June 2016) (Learn how and when to remove this template message)2001 promotional single by DJ Tiësto featuring Kirsty HawkshawBattleship GreyPromotional single by DJ Tiësto featuring Kirsty Hawkshawfrom the album In My Memory and Meta Message Released2001Recorded2000GenreDowntempotri...

 

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article may be written from a fan's point of view, rather than a neutral point of view. Please clean it up to conform to a higher standard of quality, and to make it neutral in tone. (February 2018) (Learn how and when to remove this template message) The topic of this article may not meet Wikipedia's notability guidelines for companies...

 

Argentine footballer Conan Ledesma Ledesma with Rosario Central in 2019Personal informationFull name Jeremías Conan LedesmaDate of birth (1993-02-13) 13 February 1993 (age 30)Place of birth Pergamino, ArgentinaHeight 1.86 m (6 ft 1 in)[1]Position(s) GoalkeeperTeam informationCurrent team CádizNumber 1Youth career Racing Club (P)2006–2013 Rosario CentralSenior career*Years Team Apps (Gls)2013–2021 Rosario Central 67 (0)2020–2021 → Cádiz (loan) 32 (0)2021...

Arquettes-en-Valcomune (dettagli) Arquettes-en-Val – Veduta LocalizzazioneStato Francia RegioneOccitania Dipartimento Aude ArrondissementCarcassonne CantoneTrèbes TerritorioCoordinate43°06′16″N 2°30′11″E / 43.104444°N 2.503056°E43.104444; 2.503056 (Arquettes-en-Val)Coordinate: 43°06′16″N 2°30′11″E / 43.104444°N 2.503056°E43.104444; 2.503056 (Arquettes-en-Val) Altitudine195-561 m s.l.m. Superficie9,25 km² Abit...

 

2000 studio album by Etta James Matriarch of the BluesStudio album by Etta JamesReleasedDecember 12, 2000 (2000-12-12)Genre Blues rhythm and blues[1] Length64:19LabelPrivate MusicProducerDonto Metto JamesSametto JamesLupe DeLeon (executive)Etta James chronology Heart of a Woman(1999) Matriarch of the Blues(2000) Blue Gardenia(2001) Matriarch of the Blues is the twenty-fourth studio album by Etta James, released in December 2000 through the record label Private Music...

 

2005 video by Avril LavigneBonez Tour 2005: Live at BudokanVideo by Avril LavigneReleasedDecember 7, 2005RecordedMarch 10, 2005VenueNippon Budokan (Tokyo)Genre Post-grunge alternative rock pop punk Length68:41LabelBMG JapanDirectorToru UeharaProducerToru UeharaAvril Lavigne chronology Avril Lavigne: My World(2003) Bonez Tour 2005: Live at Budokan(2005) The Best Damn Tour: Live in Toronto(2008) Bonez Tour 2005: Live at Budokan is a DVD from Avril Lavigne's second tour, Bonez Tour, rele...

Historic school building in North Carolina, United States United States historic placeHenrietta-Caroleen High SchoolU.S. National Register of Historic Places Henrietta-Caroleen High School, July 2013Show map of North CarolinaShow map of the United StatesLocation2527 NC 221A, near Mooresboro, North CarolinaCoordinates35°16′28″N 81°47′48″W / 35.27444°N 81.79667°W / 35.27444; -81.79667Area5 acres (2.0 ha)Built1925 (1925), 1935, 1952, 1955, 1967Built ...

 

Genus of palms Needle palm Specimen planted in a Maryland back yard Conservation status Apparently Secure (NatureServe)[1] Scientific classification Kingdom: Plantae Clade: Tracheophytes Clade: Angiosperms Clade: Monocots Clade: Commelinids Order: Arecales Family: Arecaceae Subfamily: Coryphoideae Tribe: Trachycarpeae Genus: RhapidophyllumH.Wendl. & Drude Species: R. hystrix Binomial name Rhapidophyllum hystrix(Pursh) H.Wendl. & Drude Synonyms[2] Corypha hyst...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!