<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="sv">
	<id>https://wiki.linux.se/index.php?action=history&amp;feed=atom&amp;title=sodium_hex2bin%28%29</id>
	<title>sodium hex2bin() - Versionshistorik</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linux.se/index.php?action=history&amp;feed=atom&amp;title=sodium_hex2bin%28%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=sodium_hex2bin()&amp;action=history"/>
	<updated>2026-04-28T14:07:09Z</updated>
	<subtitle>Versionshistorik för denna sida på wikin</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.linux.se/index.php?title=sodium_hex2bin()&amp;diff=5907&amp;oldid=prev</id>
		<title>Admin: /* Se även */</title>
		<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=sodium_hex2bin()&amp;diff=5907&amp;oldid=prev"/>
		<updated>2024-11-07T08:25:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Se även&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;sv&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versionen från 7 november 2024 kl. 08.25&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Rad 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Rad 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Se även ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Se även ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[sodium_bin2hex()]] - Kodar till hexadecimal&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[sodium_bin2hex()]] - Kodar till hexadecimal&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[hex2bin()]] - En icke-resistent version av hexadecimalkodning&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Sidslut =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Sidslut =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.linux.se/index.php?title=sodium_hex2bin()&amp;diff=5906&amp;oldid=prev</id>
		<title>Admin: Skapade sidan med &#039;== sodium_hex2bin == (PHP 7 &gt;= 7.2.0, PHP 8)  &#039;&#039;&#039;sodium_hex2bin&#039;&#039;&#039; — Avkodar en hexadecimalt kodad binär sträng  === Beskrivning === &lt;pre&gt; sodium_hex2bin(#[\SensitiveParameter] string $string, string $ignore = &quot;&quot;): string &lt;/pre&gt; Avkodar en hexadecimalt kodad binär sträng.  Till skillnad från &#039;&#039;hex2bin()&#039;&#039; är både &#039;&#039;sodium_hex2bin()&#039;&#039; och sodium_bin2hex() resistenta mot sidokanalsattacker.  === Parametrar === * &#039;&#039;&#039;string&#039;&#039;&#039;: Hexadecimalt representerad data. *...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=sodium_hex2bin()&amp;diff=5906&amp;oldid=prev"/>
		<updated>2024-11-07T08:24:49Z</updated>

		<summary type="html">&lt;p&gt;Skapade sidan med &amp;#039;== sodium_hex2bin == (PHP 7 &amp;gt;= 7.2.0, PHP 8)  &amp;#039;&amp;#039;&amp;#039;sodium_hex2bin&amp;#039;&amp;#039;&amp;#039; — Avkodar en hexadecimalt kodad binär sträng  === Beskrivning === &amp;lt;pre&amp;gt; sodium_hex2bin(#[\SensitiveParameter] string $string, string $ignore = &amp;quot;&amp;quot;): string &amp;lt;/pre&amp;gt; Avkodar en hexadecimalt kodad binär sträng.  Till skillnad från &amp;#039;&amp;#039;hex2bin()&amp;#039;&amp;#039; är både &amp;#039;&amp;#039;sodium_hex2bin()&amp;#039;&amp;#039; och &lt;a href=&quot;/sodium_bin2hex()&quot; title=&quot;sodium bin2hex()&quot;&gt;sodium_bin2hex()&lt;/a&gt; resistenta mot sidokanalsattacker.  === Parametrar === * &amp;#039;&amp;#039;&amp;#039;string&amp;#039;&amp;#039;&amp;#039;: Hexadecimalt representerad data. *...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny sida&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== sodium_hex2bin ==&lt;br /&gt;
(PHP 7 &amp;gt;= 7.2.0, PHP 8)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;sodium_hex2bin&amp;#039;&amp;#039;&amp;#039; — Avkodar en hexadecimalt kodad binär sträng&lt;br /&gt;
&lt;br /&gt;
=== Beskrivning ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sodium_hex2bin(#[\SensitiveParameter] string $string, string $ignore = &amp;quot;&amp;quot;): string&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Avkodar en hexadecimalt kodad binär sträng.&lt;br /&gt;
&lt;br /&gt;
Till skillnad från &amp;#039;&amp;#039;hex2bin()&amp;#039;&amp;#039; är både &amp;#039;&amp;#039;sodium_hex2bin()&amp;#039;&amp;#039; och [[sodium_bin2hex()]] resistenta mot sidokanalsattacker.&lt;br /&gt;
&lt;br /&gt;
=== Parametrar ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;string&amp;#039;&amp;#039;&amp;#039;: Hexadecimalt representerad data.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ignore&amp;#039;&amp;#039;&amp;#039;: (valfritt) Tecken som ska ignoreras under avkodningen.&lt;br /&gt;
&lt;br /&gt;
=== Returnerar ===&lt;br /&gt;
Binär representation av den angivna strängdatan.&lt;br /&gt;
&lt;br /&gt;
=== Exempel ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$hex_string = &amp;quot;5d1be09e3d0c82fc538112490e357019&amp;quot;;&lt;br /&gt;
$binary_data = sodium_hex2bin($hex_string);&lt;br /&gt;
var_dump($binary_data);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Se även ===&lt;br /&gt;
* [[sodium_bin2hex()]] - Kodar till hexadecimal&lt;br /&gt;
* [[hex2bin()]] - En icke-resistent version av hexadecimalkodning&lt;br /&gt;
&lt;br /&gt;
= Sidslut =&lt;br /&gt;
&lt;br /&gt;
Orginalhemsidan på Engelska :https://www.php.net/manual/en/function.sodium-hex2bin.php&lt;br /&gt;
&amp;lt;BR&amp;gt;[[PHP]]&lt;br /&gt;
[[Funktioner]]&lt;br /&gt;
[[Funktionsreferens]]&lt;br /&gt;
[[Kryptografitillägg]]&lt;br /&gt;
[[Sodium]]&lt;br /&gt;
&amp;lt;HR&amp;gt;&lt;br /&gt;
Det här är en maskinöversättning av PHP-manualen till svenska. Om du hittar fel är vi tacksamma om du rapporterar dem via formuläret som finns på &lt;br /&gt;
https://www.linux.se/kontaka-linux-se/&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;Tack till [https://www.Datorhjalp.se Datorhjälp] som har  sponsrat [https://www.linux.se Linux.se] med webbhotell.&lt;br /&gt;
&lt;br /&gt;
[[Kategori:Php]]&lt;br /&gt;
[[Kategori:Kryptografi-extensioner]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>