<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>onHacks &#187; Compression</title>
	<atom:link href="http://onhacks.org/lang/zh-hk/tag/compression/feed/" rel="self" type="application/rss+xml" />
	<link>http://onhacks.org</link>
	<description>On Hacking Across Boundaries</description>
	<lastBuildDate>Wed, 02 Jun 2010 05:48:30 +0000</lastBuildDate>
	<language>zh-hk</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>RE : Encryption VS Compression</title>
		<link>http://onhacks.org/lang/zh-hk/2009/04/12/re-encryption-vs-compression</link>
		<comments>http://onhacks.org/lang/zh-hk/2009/04/12/re-encryption-vs-compression#comments</comments>
		<pubDate>Sun, 12 Apr 2009 14:52:11 +0000</pubDate>
		<dc:creator>log0</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Protocol]]></category>
		<category><![CDATA[Compression]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=276</guid>
		<description><![CDATA[LP gave a very good reply to the topic of &#8220;encrypt-and-compress&#8221; or &#8220;compress-and-encrypt&#8221; , and it is worth highlighting here. The reason why compression works is that the plaintext contains redundancy. E.g. there are certain patterns in the text, character frequencies are not uniform, etc. On the other hand, a good encryption algorithm should exhibit [...]]]></description>
			<content:encoded><![CDATA[<p>LP gave <a href="http://onhacks.org/lang/en/2009/01/01/encryption-vs-compression/comment-page-1/#comment-318" target="_blank">a very good reply</a> to the topic of <a href="http://onhacks.org/lang/en/2009/01/01/encryption-vs-compression/" target="_blank">&#8220;encrypt-and-compress&#8221; or &#8220;compress-and-encrypt&#8221;</a> , and it is worth highlighting here.</p>
<blockquote><p>The reason why compression works is that the plaintext contains redundancy. E.g. there are certain patterns in the text, character frequencies are not uniform, etc.</p>
<p>On the other hand, a good encryption algorithm should exhibit good diffusion and confusion. In short, it means that encrypted data should be indistinguishable from random noise. It is obvious that this property should hold regardless of the plaintext, otherwise the encryption algorithm is broken.</p>
<p>Therefore, compress-and-encrypt produces smaller output with no security compromise per se, but encrypt-and-compress is like feeding random noise (whose redundancy is greatly reduced) into the compression algorithm with no obvious security benefit.</p></blockquote>
<p>In short, encrypt-and-compress poses no obvious security benefit. Moreover, given that a good compression algorithm should be like real noise, and should not contain pattern, it follows that there will be no obvious storage benefit, either.</p>
]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/zh-hk/2009/04/12/re-encryption-vs-compression/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title> 加密與壓縮</title>
		<link>http://onhacks.org/lang/zh-hk/2009/01/01/encryption-vs-compression</link>
		<comments>http://onhacks.org/lang/zh-hk/2009/01/01/encryption-vs-compression#comments</comments>
		<pubDate>Wed, 31 Dec 2008 20:52:17 +0000</pubDate>
		<dc:creator>.hac</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Compression]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[TLS]]></category>

		<guid isPermaLink="false">http://onhacks.org/?p=110</guid>
		<description><![CDATA[有大量的流動之間的郵件服務器每天不同的電子郵件。與此同時，在現實世界中，在大多數國家，帶寬是衡量你的帳單。如果您所在的電子郵件服務器，您可以總是希望盡量減少帶寬使用。平凡的解決辦法是使用壓縮的服務器時，提供的信息。壓縮是一個非常普遍的技術，我們使用，以盡量減少存儲容量的數據，主要有兩種不同的類別，無損和有損。當我們壓縮電子郵件，無損壓縮必須使用，以確保數據的完整的壓縮後的減壓過程。在徵求意見文檔（ RFC ）中，有許多著名的無損壓縮方法壓縮部署不同協議（如TLS的，按購買力平價） ，他們壓縮， gzip格式壓縮並LZW 。當然，還有一些非標準化的壓縮方法的議定書。 電子郵件服務器應當使用安全通道時，提供敏感信息。總之，我們應該使用安全通道傳輸數據時，在網絡中。為了簡化程序，傳輸層安全（ TLS ）是一個以提供一個安全通道在傳輸過程中。 TLS的是一種狀態密碼協議來決定非對稱密鑰的發送和接收過程中使用的通信。 最後，在你讀長期言，現在我想提一個問題。如果我想都盡量減少帶寬使用的傳輸和安全傳輸，我要壓縮和加密的數據傳送之前，之間的區別是什麼壓縮，加密（壓縮數據的安全通道）和加密壓縮（加密數據在壓縮頻道）？有哪些優點和缺點這兩個辦法？海事組織，壓縮，加密，可能會更安全的加密功能，因為包裹整個郵件。雖然加密壓縮是安全的，它可能暴露時間的長短的信息，看壓縮歷史。需要同時輸入塊大小的壓縮和加密是相同的，否則緩衝所需的傳輸。的優點是加密壓縮是我們可以保證壓縮塊大小是固定的，因為在大多數情況下，我們使用公開密鑰加密方法有塊大小為2n位。 還有一些存在的壓縮標準的加密協議（如TLS的壓縮） 。歡迎來看看，可能是你可以拿出一些想法的優點和缺點這兩個不同的方法。我期待著與您有討論這些方法。 思想，意見和建議都歡迎您！]]></description>
			<content:encoded><![CDATA[




<p><span lang="zh-hk">有大量的流動之間的郵件服務器每天不同的電子郵件。與此同時，在現實世界中，在大多數國家，帶寬是衡量你的帳單。如果您所在的電子郵件服務器，您可以總是希望盡量減少帶寬使用。平凡的解決辦法是使用壓縮的服務器時，提供的信息。壓縮是一個非常普遍的技術，我們使用，以盡量減少存儲容量的數據，主要有兩種不同的類別，無損和有損。當我們壓縮電子郵件，無損壓縮必須使用，以確保數據的完整的壓縮後的減壓過程。在徵求意見文檔（ RFC ）中，有許多著名的無損壓縮方法壓縮部署不同協議（如TLS的，按購買力平價） ，他們壓縮， gzip格式壓縮並LZW 。當然，還有一些非標準化的壓縮方法的議定書。</span></p>
<p><span lang="zh-hk">電子郵件服務器應當使用安全通道時，提供敏感信息。總之，我們應該使用安全通道傳輸數據時，在網絡中。為了簡化程序，傳輸層安全（ TLS ）是一個以提供一個安全通道在傳輸過程中。 TLS的是一種狀態密碼協議來決定非對稱密鑰的發送和接收過程中使用的通信。</span></p>
<p><span lang="zh-hk">最後，在你讀長期言，現在我想提一個問題。如果我想都盡量減少帶寬使用的傳輸和安全傳輸，我要壓縮和加密的數據傳送之前，之間的區別是什麼壓縮，加密（壓縮數據的安全通道）和加密壓縮（加密數據在壓縮頻道）？有哪些優點和缺點這兩個辦法？海事組織，壓縮，加密，可能會更安全的加密功能，因為包裹整個郵件。雖然加密壓縮是安全的，它可能暴露時間的長短的信息，看壓縮歷史。需要同時輸入塊大小的壓縮和加密是相同的，否則緩衝所需的傳輸。的優點是加密壓縮是我們可以保證壓縮塊大小是固定的，因為在大多數情況下，我們使用公開密鑰加密方法有塊大小為2n位。</span></p>
<p><span lang="zh-hk">還有一些存在的壓縮標準的加密協議（如TLS的壓縮） 。歡迎來看看，可能是你可以拿出一些想法的優點和缺點這兩個不同的方法。我期待著與您有討論這些方法。</span></p>
<p><span lang="zh-hk">思想，意見和建議都歡迎您！</span></p>





]]></content:encoded>
			<wfw:commentRss>http://onhacks.org/lang/zh-hk/2009/01/01/encryption-vs-compression/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
