<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.multimediaexpo.cz/mmecz/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
		<id>http://www.multimediaexpo.cz/mmecz/index.php?action=history&amp;feed=atom&amp;title=Crypt_%28Unix%29</id>
		<title>Crypt (Unix) - Historie editací</title>
		<link rel="self" type="application/atom+xml" href="http://www.multimediaexpo.cz/mmecz/index.php?action=history&amp;feed=atom&amp;title=Crypt_%28Unix%29"/>
		<link rel="alternate" type="text/html" href="http://www.multimediaexpo.cz/mmecz/index.php?title=Crypt_(Unix)&amp;action=history"/>
		<updated>2026-08-06T04:20:59Z</updated>
		<subtitle>Historie editací této stránky</subtitle>
		<generator>MediaWiki 1.16.5</generator>

	<entry>
		<id>http://www.multimediaexpo.cz/mmecz/index.php?title=Crypt_(Unix)&amp;diff=3028598&amp;oldid=prev</id>
		<title>Sysop: ++</title>
		<link rel="alternate" type="text/html" href="http://www.multimediaexpo.cz/mmecz/index.php?title=Crypt_(Unix)&amp;diff=3028598&amp;oldid=prev"/>
				<updated>2024-11-08T13:48:17Z</updated>
		
		<summary type="html">&lt;p&gt;++&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Starší verze&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Verze z 8. 11. 2024, 13:48&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádka 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádka 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:crypt (Unix)}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:crypt (Unix)}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''crypt''' je v [[Informatika|informatice]] název [[UN*X|unixové]] [[Knihovna (programování)|knihovní]] [[Funkce (programování)|funkce]] a též název méně používané [[Utilita|utility]] pro [[příkazový řádek]]. Aby bylo obě možnosti možné odlišit, je v textu často knihovní funkce označována jako &amp;lt;code&amp;gt;crypt(3)&amp;lt;/code&amp;gt; a utilita jako &amp;lt;code&amp;gt;crypt(1)&amp;lt;/code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, přičemž číslo &lt;/del&gt;vyjadřuje příslušnou sekci standardní [[Manuálová stránka &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(Unix)&lt;/del&gt;|manuálové stránky]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''crypt''' je v [[Informatika|informatice]] název [[UN*X|unixové]] [[Knihovna (programování)|knihovní]] [[Funkce (programování)|funkce]] a též název méně používané [[Utilita|utility]] pro [[příkazový řádek]]. Aby bylo obě možnosti možné odlišit, je v textu často knihovní funkce označována jako &amp;lt;code&amp;gt;crypt(3)&amp;lt;/code&amp;gt; a utilita jako &amp;lt;code&amp;gt;crypt(1)&amp;lt;/code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&amp;lt;br /&amp;gt;Číslo &lt;/ins&gt;vyjadřuje příslušnou sekci standardní [[Manuálová stránka|manuálové stránky]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Knihovní funkce crypt(3) ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Knihovní funkce crypt(3) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Knihovní funkce &amp;lt;code&amp;gt;crypt()&amp;lt;/code&amp;gt; slouží k [[jednosměrná funkce|jednosměrnému]] zakódování hesla pomocí [[Kryptografická hašovací funkce|kryptografické hašovací funkce]], které využívá též [[Kryptografická sůl|kryptografickou sůl]]. Výstupem je textový řetězec určité délky, který obsahuje sůl, identifikaci použitého algoritmu a vlastní hash. Existuje několik variant implementace této funkce. [[Linux]]ová knihovna [[GNU C Library]] obsahuje funkci, která podporuje od [[verze]] 2.7 algoritmy DES, MD5 a SHA.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Knihovní funkce &amp;lt;code&amp;gt;crypt()&amp;lt;/code&amp;gt; slouží k [[jednosměrná funkce|jednosměrnému]] zakódování hesla pomocí [[Kryptografická hašovací funkce|kryptografické hašovací funkce]], které využívá též [[Kryptografická sůl|kryptografickou sůl]]. Výstupem je textový řetězec určité délky, který obsahuje sůl, identifikaci použitého algoritmu a vlastní hash. Existuje několik variant implementace této funkce. [[Linux]]ová knihovna [[GNU C Library]] obsahuje funkci, která podporuje od [[verze]] 2.7 algoritmy DES, MD5 a SHA.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádka 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Řádka 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[Key derivation function]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[Key derivation function]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Externí odkazy ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Externí odkazy ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http&lt;/del&gt;://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;google&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;codesearch&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;p#118goTAkg2o&lt;/del&gt;/usr/src/cmd/crypt.c Zdrojový kód pro crypt(1)] z [[Version 7 Unix]]u (trivializovaný jednorotorový Enigma stroj)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;https&lt;/ins&gt;://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;minnie&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tuhs.org&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cgi-bin&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;utree.pl?file=V7&lt;/ins&gt;/usr/src/cmd/crypt.c Zdrojový kód pro crypt(1)] z [[Version 7 Unix]]u (trivializovaný jednorotorový Enigma stroj)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http&lt;/del&gt;://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;google&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;codesearch&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;p#118goTAkg2o&lt;/del&gt;/usr/src/libc/gen/crypt.c Zdrojový kód pro crypt(3)] z [[Version 7 Unix]]u (implementuje navrhovaný DES)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;https&lt;/ins&gt;://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;minnie&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tuhs.org&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cgi-bin&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;utree.pl?file=V7&lt;/ins&gt;/usr/src/libc/gen/crypt.c Zdrojový kód pro crypt(3)] z [[Version 7 Unix]]u (implementuje navrhovaný DES)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;http&lt;/del&gt;://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;google&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;codesearch&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;p#SRrRNuoDyqU&lt;/del&gt;/s1/crypt.c Zdrojový kód pro crypt(1)] z &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/del&gt;Version 6 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Unix]]u &lt;/del&gt;(implementace kryptografického stroje [[Boris Hagelin|Borise Hagelina]])&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;https&lt;/ins&gt;://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;minnie&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tuhs.org&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cgi-bin/utree.pl?file=V6/usr&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;source&lt;/ins&gt;/s1/crypt.c Zdrojový kód pro crypt(1)] z Version 6 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Unixu &lt;/ins&gt;(implementace kryptografického stroje [[Boris Hagelin|Borise Hagelina]])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Článek z Wikipedie}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Článek z Wikipedie}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Kategorie:Software pro Unix]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Kategorie:Software pro Unix]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Kategorie:Bezpečnostní software]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Kategorie:Bezpečnostní software]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sysop</name></author>	</entry>

	<entry>
		<id>http://www.multimediaexpo.cz/mmecz/index.php?title=Crypt_(Unix)&amp;diff=622260&amp;oldid=prev</id>
		<title>Sysop: 1 revizi</title>
		<link rel="alternate" type="text/html" href="http://www.multimediaexpo.cz/mmecz/index.php?title=Crypt_(Unix)&amp;diff=622260&amp;oldid=prev"/>
				<updated>2014-04-23T14:17:47Z</updated>
		
		<summary type="html">&lt;p&gt;1 revizi&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Starší verze&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Verze z 23. 4. 2014, 14:17&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Sysop</name></author>	</entry>

	<entry>
		<id>http://www.multimediaexpo.cz/mmecz/index.php?title=Crypt_(Unix)&amp;diff=622259&amp;oldid=prev</id>
		<title>Sysop: 1 revizi</title>
		<link rel="alternate" type="text/html" href="http://www.multimediaexpo.cz/mmecz/index.php?title=Crypt_(Unix)&amp;diff=622259&amp;oldid=prev"/>
				<updated>2011-07-03T20:10:49Z</updated>
		
		<summary type="html">&lt;p&gt;1 revizi&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nová stránka&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:crypt (Unix)}}&lt;br /&gt;
'''crypt''' je v [[Informatika|informatice]] název [[UN*X|unixové]] [[Knihovna (programování)|knihovní]] [[Funkce (programování)|funkce]] a též název méně používané [[Utilita|utility]] pro [[příkazový řádek]]. Aby bylo obě možnosti možné odlišit, je v textu často knihovní funkce označována jako &amp;lt;code&amp;gt;crypt(3)&amp;lt;/code&amp;gt; a utilita jako &amp;lt;code&amp;gt;crypt(1)&amp;lt;/code&amp;gt;, přičemž číslo vyjadřuje příslušnou sekci standardní [[Manuálová stránka (Unix)|manuálové stránky]].&lt;br /&gt;
== Knihovní funkce crypt(3) ==&lt;br /&gt;
Knihovní funkce &amp;lt;code&amp;gt;crypt()&amp;lt;/code&amp;gt; slouží k [[jednosměrná funkce|jednosměrnému]] zakódování hesla pomocí [[Kryptografická hašovací funkce|kryptografické hašovací funkce]], které využívá též [[Kryptografická sůl|kryptografickou sůl]]. Výstupem je textový řetězec určité délky, který obsahuje sůl, identifikaci použitého algoritmu a vlastní hash. Existuje několik variant implementace této funkce. [[Linux]]ová knihovna [[GNU C Library]] obsahuje funkci, která podporuje od [[verze]] 2.7 algoritmy DES, MD5 a SHA.&lt;br /&gt;
=== Tradiční DES schéma ===&lt;br /&gt;
Tradičně je používána modifikovaná forma [[Data Encryption Standard|DES]] algoritmu. Před zakódováním je heslo oříznuto na osm znaků, jsou odstraněny nejvyšší bity (je použita jen dolní polovina [[ASCII]]), čímž vzniká 56bitový DES [[Šifrovací klíč|klíč]], který je použit k zakódování vynulovaného bloku, přičemž kódování je se stejným klíčem celkem 25× opakováno.  Jako [[kryptografická sůl]] je použito 12 bitů, které slouží k variaci DES algoritmu, takže standardní DES implementace nelze použít. Výsledek je převeden do prostého textu pomocí [[Base64]].&lt;br /&gt;
=== Modifikace tradičního DES schéma ===&lt;br /&gt;
=== Rozšířené BSDi schéma ===&lt;br /&gt;
=== MD5 schéma ===&lt;br /&gt;
=== Blowfish schéma ===&lt;br /&gt;
=== NT Hash schéma ===&lt;br /&gt;
=== SHA schéma ===&lt;br /&gt;
== Filtr crypt(1) ==&lt;br /&gt;
Příkaz &amp;lt;code&amp;gt;crypt&amp;lt;/code&amp;gt; není běžnou součástí [[Linuxová distribuce|linuxových distribucí]], protože je použit [[algoritmus]] ze šifrovacího stroje [[Enigma]], který je pokládán za [[Kryptografie|kryptograficky]] slabý a tudíž málo odolný vůči [[Kryptoanalýza|kryptoanalýze]].&lt;br /&gt;
== Související články ==&lt;br /&gt;
* [[Kryptografická sůl]]&lt;br /&gt;
* [[Key derivation function]]&lt;br /&gt;
== Externí odkazy ==&lt;br /&gt;
* [http://google.com/codesearch/p#118goTAkg2o/usr/src/cmd/crypt.c Zdrojový kód pro crypt(1)] z [[Version 7 Unix]]u (trivializovaný jednorotorový Enigma stroj)&lt;br /&gt;
* [http://google.com/codesearch/p#118goTAkg2o/usr/src/libc/gen/crypt.c Zdrojový kód pro crypt(3)] z [[Version 7 Unix]]u (implementuje navrhovaný DES)&lt;br /&gt;
* [http://google.com/codesearch/p#SRrRNuoDyqU/s1/crypt.c Zdrojový kód pro crypt(1)] z [[Version 6 Unix]]u (implementace kryptografického stroje [[Boris Hagelin|Borise Hagelina]])&lt;br /&gt;
&lt;br /&gt;
{{Článek z Wikipedie}}&lt;br /&gt;
[[Kategorie:Software pro Unix]]&lt;br /&gt;
[[Kategorie:Bezpečnostní software]]&lt;/div&gt;</summary>
		<author><name>Sysop</name></author>	</entry>

	</feed>