<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>sha &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/sha/</link>
	<description>Feed of posts on WordPress.com tagged "sha"</description>
	<pubDate>Sun, 12 Oct 2008 12:23:08 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[sadness]]></title>
<link>http://rahmadisrijanto.wordpress.com/?p=490</link>
<pubDate>Sun, 12 Oct 2008 11:03:42 +0000</pubDate>
<dc:creator>rahmadisrijanto</dc:creator>
<guid>http://rahmadisrijanto.wordpress.com/2008/10/12/sadness/</guid>
<description><![CDATA[.
langit pukul sepuluh hari ini suram &#8216;ra,
dan minggu ini menjadi sebuah hari yang seak]]></description>
<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://rahmadisrijanto.files.wordpress.com/2008/10/abstract101-19.jpg"><img class="aligncenter size-full wp-image-502" title="abstract101-19" src="http://rahmadisrijanto.wordpress.com/files/2008/10/abstract101-19.jpg" alt="" width="460" height="368" /></a>.</p>
<p style="text-align:left;">langit pukul sepuluh hari ini suram 'ra,</p>
<p style="text-align:left;">dan minggu ini menjadi sebuah hari yang seakan dikutuk,</p>
<p style="text-align:left;">gerimis, jalanan sepi, tak ada suara gaduh seperti biasa.</p>
<p style="text-align:left;">suara detik yang berasal dari jam dibelakangku menjadi dominan,</p>
<p style="text-align:left;">membuat waktu jadi mencekam, mereka seakan menghakimiku.</p>
<p style="text-align:left;">.</p>
<p style="text-align:left;">entah mengapa, aku jadi ingin mendengar suaramu 'ra,</p>
<p style="text-align:left;">tapi kutahan, karena kupasti kau akan terheran-heran tak karuan ketika aku menyapa,</p>
<p style="text-align:left;">cinta begitu indah 'ra, namun terkuras oleh mereka sehingga tak tersisa untuk aku,</p>
<p style="text-align:left;">kau tahu 'ra, kadang aku sangat iri pada pemanah cinta,</p>
<p style="text-align:left;">yang selalu pilih kasih untuk tugasnya.</p>
<p style="text-align:left;">bagiku, cinta hanya untuk orang berada 'ra,</p>
<p style="text-align:left;">dan kami hanya mendapatkan ampasnya.</p>
<p style="text-align:left;">.</p>
<p style="text-align:left;">ra, hari ini kukenal orang baru dan kulihat dia sangat bahagia,</p>
<p style="text-align:left;">namanya 'sha.</p>
<p style="text-align:left;">dia seorang penulis puisi, dan isinya sangat bagus 'ra,</p>
<p style="text-align:left;">sha nampak bahagia 'ra,</p>
<p style="text-align:left;">dan kulihat <em>lelaki</em> dari mars miliknya <em>penuh</em> dengan cinta (<em>hoax</em>)</p>
<p style="text-align:left;">sudahlah ra, kita ganti topik saja,</p>
<p style="text-align:left;">karena nanti aku dianggap peramal jika menyimpulkan hanya lewat foto,</p>
<p style="text-align:left;">namun gambar kadang lebih bermakna kan 'ra?</p>
<p style="text-align:left;">.</p>
<p style="text-align:left;">beberapa hari ini aku tengah menggapai masa depan 'ra,</p>
<p style="text-align:left;">sehingga blog ini kosong walau tak sampai melompong,</p>
<p style="text-align:left;">ia 'ra, aku lagi tengah menjalani diklat...</p>
<p style="text-align:left;">dari pekerjaanku yang kan menjamin hari tuaku,</p>
<p style="text-align:left;">namun 'ra,</p>
<p style="text-align:left;">kerikil ditempat diklat lebih menyusahkanku dibanding batu besarnya,</p>
<p style="text-align:left;">kerikil ini sama ra, ketika masuk dalam sepatumu,</p>
<p style="text-align:left;">dan kau tak mengenakan kaus kaki</p>
<p style="text-align:left;">hal  yang pasti sangat mengganggu,</p>
<p style="text-align:left;">itu yang kualami 'ra,</p>
<p style="text-align:left;">gangguan kerikil kecil <span style="text-decoration:line-through;">panitia overacting,</span></p>
<p style="text-align:left;">yang merusak tiap bagian hariku.</p>
<p style="text-align:left;">.</p>
<p style="text-align:left;">namanya <span style="text-decoration:line-through;">takperludisebut</span> 'ra, yang kadang hadir dalam setiap jenuhku,</p>
<p style="text-align:left;">hanya bayangan muncul menyapa,</p>
<p style="text-align:left;">membawa cerita lama,</p>
<p style="text-align:left;">cerita yang membuat aku menjadi badut diantara teman-temanku,</p>
<p style="text-align:left;">menjadi orang bodoh dengan keluguanku,</p>
<p style="text-align:left;">namun tak terhapus ra,</p>
<p style="text-align:left;">walau pernah sakit namun episode tentang dia tak pernah terhapus,</p>
<p style="text-align:left;">bersemayam layaknya  nisan dengan kuburnya,</p>
<p style="text-align:left;">.</p>
<p style="text-align:left;"><a href="http://rahmadisrijanto.files.wordpress.com/2008/10/living_sculpture_acrylicpainting_jessica_gregory_trees-198x250.jpg"><img class="aligncenter size-full wp-image-503" title="living_sculpture_acrylicpainting_jessica_gregory_trees-198x250" src="http://rahmadisrijanto.wordpress.com/files/2008/10/living_sculpture_acrylicpainting_jessica_gregory_trees-198x250.jpg" alt="" width="198" height="250" /></a></p>
<p style="text-align:center;">ra'...</p>
<p style="text-align:center;">gerimis kini berganti menjadi hujan,</p>
<p style="text-align:center;">dan akupun sudah tak punya kata untuk kutulis lagi</p>
<p style="text-align:center;">aku harus segera pergi</p>
<p style="text-align:center;">tapi terimakasih 'ra, temani hari sepiku,</p>
<p style="text-align:center;">aku pamit dahulu</p>
<p style="text-align:center;">suara abdillah-abdullah dan umminya telah memanggilku...</p>
<p style="text-align:center;">sekali lagi, terimakasih 'ra...</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[UEID: Unique Enough IDs]]></title>
<link>http://hbfs.wordpress.com/?p=236</link>
<pubDate>Tue, 30 Sep 2008 10:42:33 +0000</pubDate>
<dc:creator>Steven Pigeon</dc:creator>
<guid>http://hbfs.wordpress.com/2008/09/30/ueid-unique-enough-ids/</guid>
<description><![CDATA[Generating unique, unambiguous, IDs for data is something we do often, but we do not always know wha]]></description>
<content:encoded><![CDATA[<p>Generating unique, unambiguous, IDs for data is something we do often, but we do not always know what level of uniqueness is really needed. In some cases, we want to be really sure that two instances of the same ID identify two copies of the same object or data. In other cases, we only want to be reasonably sure. In other cases, yet, we just assume that collisions—two different objects yielding the same ID—are very unlikely, and, if the need be, we can proceed to further testing to establish equality.</p>
<p>There are many ways of generating IDs, each with varying levels of confidence on uniqueness and differing applications.</p>
<p><a href="http://hbfs.wordpress.com/files/2008/09/arch-white.jpg"><img class="aligncenter size-full wp-image-248" title="arch-white" src="http://hbfs.wordpress.com/files/2008/09/arch-white.jpg" alt="" /></a></p>
<p><!--more--></p>
<p>To name a few:</p>
<ul>
<li><strong>Custom Table-Lookup Hash Function</strong>. We do it every time we roll up yet another implementation of a <a href="http://en.wikipedia.org/wiki/Hash_table" target="_blank">hash lookup table</a>, and yet, it's very rarely well done. Too simple hash functions simply fail at randomizing bits enough to thin out collisions. However, if it is very important that we choose a good hash function, we can avoid the extreme of expensive cryptographic hash functions. Mixing a classical hash function with a (fixed) table of random numbers can lead to good results yet with very little code/computation. One example of which is the <a href="http://en.wikipedia.org/wiki/Zobrist_hashing" target="_blank">Zobrist Hash Function</a>. This function, from some of my <a href="http://www.stevenpigeon.org/Algorithmes/tables_hash/index.html" target="_blank">previous work</a> (in French, though): [sourcecode language='c']<br />
 inline unsigned<br />
  hash(const unsigned char *buffer,<br />
       size_t size)<br />
  {<br />
   static const unsigned EXPAND[256]=<br />
   #include "hash-random-table";</p>
<p>   unsigned h=0;</p>
<p>   for (int i=0;i<size; i++)<br />
    h=(h ^ (h >> 1) )<br />
       +EXPAND[ buffer[i] ]; </p>
<p>   return h;<br />
  }<br />
 [/sourcecode]</p>
<p>does also very well for lookup tables applications. It is not affected much by the length of the data and, depending on the contents of the random table, spreads bits quite evenly across the <tt>unsigned</tt> range (whatever <tt>unsigned</tt> may be in your implementation).</p>
<p>However, in hash tables, collisions can be dealt with, so it is not that important to have truly unique IDs, it suffice to have IDs that have a low probability of being generated for two different pieces of data.</li>
<li><strong>MD5</strong>. The <a href="http://en.wikipedia.org/wiki/Md5" target="_blank">MD5</a> message digest algorithm produces a 128 bits (or 16 bytes) value from your data, pretty much like a hash table lookup hash function but in a way that makes it really difficult to find the original data (or a plausible substitution) from the 128 hashed bits. This algorithm ensure a very, very low probability of collision, although, theoretically, collisions can still occur. However, the MD5 hashing algorithm is known to be vulnerable to forgery, that is, it possible to forge messages with a given MD5 hash relatively easily. When I mean relatively, I mean by using a very sophisticated algorithm exploiting a weakness in MD5, and hours of CPU time (see <a href="http://en.wikipedia.org/wiki/Md5#Vulnerability" target="_blank">here</a> for details). In normal situations, however, MD5 is perfectly safe to use for caches and other lookups where you cannot afford collisions.</li>
<li><strong>The SHA Family</strong>. Contrary to MD5, the <a href="http://en.wikipedia.org/wiki/SHA-1" target="_blank">SHA</a> hash functions family has no known weaknesses that can lead to forgery. SHA-256, for example, yields a 256 bits signature. This greatly reduces the probability of a collision, but now your data has a 256 bits (or 32 bytes) signature attached to it. It may represent too much data to store, depending on your application.</li>
<li><strong>RFC-4122 UUID</strong>. A <a href="http://en.wikipedia.org/wiki/Universally_Unique_Identifier" target="_blank">UUID</a>, or <em>universally unique identifier</em> is a very long (32 bytes, or 256 bits) series of bits that are most probably unique. <a href="http://tools.ietf.org/html/rfc4122" target="_blank">RFC-4122</a> describes the flavors of UUIDs. However, unlike the previous methods, based on hashing, UUIDs do not depend on your data. Rather, they are either generated pseudo-randomly (as for <a href="http://en.wikipedia.org/wiki/Universally_Unique_Identifier#Version_4_.28random.29" target="_blank">Version 4</a>), or based on your computer supposedly unique features like your primary Ethernet card's <a href="http://en.wikipedia.org/wiki/MAC_address" target="_blank">MAC address</a>. The Linux kernel offers the <a href="http://en.wikipedia.org/wiki/Procfs" target="_blank">procfs</a> pseudo-file <tt>/proc/sys/kernel/random/uuid</tt> that yields (RFC 4122, Version 4) UUIDs that look like <tt>e56b51fd-4d7c-4d81-bbce-2579d2020861</tt>.</li>
<li><strong>UEID</strong>. The <em>Unique Enough ID</em> is any human-readable (most likely) unique signature you can build from your data. Maybe you cannot hash a whole record to ID it, because some part of it changes. Maybe it makes more sense to have the ID human-readable, for whatever reason. For example, this could correspond to a log file where some fields remain the same and some change depending on whatever happened when the log line was generated. You could hash on the fixed fields and bundle all log lines  with the same hash together as pertaining to the same series of events. Indeed, instead of having an ID such as  <tt>182f0ed1cb934660</tt>, it may be preferable to have the easily  readable "<tt>310.260.613.0-http-get-www.domain.com-file.gif</tt>" as an  UEID to track file transfer from an Apache log<sup> 1,2</sup>.</li>
</ul>
<p>The hash functions (custom, MD5, SHA) can be used whenever the main goal is to cache data/files with a <em>very low</em> rate of collision, or where collisions are assumed so unlikely as to be virtually impossible. Using MD5, for example, in a setting where the signature cannot be forged and submitted to your application, is perfectly safe. In fact, even if MD5 is subject to attack, there are, to my knowledge, no known "real world" collisions. They just never happened. Yet. If you feel a bit paranoid, you can go for SHA-256, but you double the signature size for very little real gain—assuming, of course, a non-cryptographic setting.</p>
<p>The UUID algorithms described by RFC-4122 are more suited for objects that will persist and be exchanged between different systems yet must be uniquely identified. For example, it may be convenient for you to identify your computer by a UUID in a network rather than by an IP address that can change when roaming. It could also be a licence number issued once. You can figure out applications where a UUID would be useful, I am sure.</p>
<p>The UEID can be used whenever there is uncertainty about the original data, or when you can tolerate a higher probability of error error.</p>
<p>There are other uses for UUID, such as <a href="http://en.wikipedia.org/wiki/Include_guard" target="_blank">include guards</a> in languages such as C and C++. Although not as elegant as carefully chosen symbol names, UUIDs prevent include guard collisions (as would the quite standard <a href="http://en.wikipedia.org/wiki/Pragma_once" target="_blank"><tt>#pragma once</tt></a>) a very direct, simple way.</p>
<hr />UUID are accessible in many languages. Java offers <tt>java.util.uuid</tt>, Python <tt>uuid</tt>, PHP <tt>uniqid</tt>, and <tt>libuuid</tt> offers UUID functionalities to C and C++. <tt>libuuid</tt> is part of (most? all?) Linux distributions. On Windows, one would use the <tt>UuidCreate</tt> function found in <tt>Rpc.h</tt></p>
<hr />Adding the following to your <tt>.emacs</tt> file</p>
<p>[sourcecode language='c']<br />
(defun insert-uuid<br />
       ()<br />
       (interactive)<br />
       (shell-command "cat /proc/sys/kernel/random/uuid" t)<br />
       )<br />
(defun insert-UUID </p>
<p>       ()<br />
       (interactive)<br />
       (shell-command "tr a-z\- A-Z\_ < /proc/sys/kernel/random/uuid" t)<br />
      )<br />
[/sourcecode]</p>
<p>will allow you to invoke <tt>M-x insert-uuid</tt> and <tt>M-x insert-UUID</tt> to insert RFC 4122 Version 4 UUIDs in RFC format or capitalized, with underscores rather than dashes, respectively. Sorry for the VI(M) users, I do not know the VI(M) equivalent.</p>
<hr /><sup>1 </sup> An "IP V4.5" address seen in CSI:Miami episode 13, season 4, <a href="http://www.imdb.com/title/tt0534786/" target="_blank">Silencer</a></p>
<p><sup>2 </sup>As far as I know, Apache is <em>connectionless</em>, so it is not easy to track this kind of information from the logs: one has to reassemble the many gets to reconstruct the transfer details and historic.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[[o] Love Is Just Eternal [o]]]></title>
<link>http://yunanhee.wordpress.com/?p=118</link>
<pubDate>Thu, 18 Sep 2008 22:58:01 +0000</pubDate>
<dc:creator>shirahimeshou</dc:creator>
<guid>http://yunanhee.wordpress.com/2008/09/19/love-is-just-eternal/</guid>
<description><![CDATA[
body {
background-image: url(http://i200.photobucket.com/albums/aa73/fs-layouts/friendster-layouts.]]></description>
<content:encoded><![CDATA[<p><img class="aligncenter" src="http://img232.imageshack.us/img232/4161/loveisjusteternalnk0.jpg" alt="" width="300" height="165" /></p>
<blockquote><p>body {<br />
background-image: url(http://i200.photobucket.com/albums/aa73/fs-layouts/friendster-layouts.com/2008/09/love-is-just-eternal/love-is-just-eternal.jpg);<br />
background-attachment: fixed;<br />
background-position: bottom right;<br />
background-repeat: no-repeat;<br />
background-color: #000000;<br />
cursor: url("http://www.myspacecursor.net/glitters/cursor8.ani"),default;<br />
}<br />
.usercontent {<br />
font-family: Trebuchet MS, Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;<br />
color: #ffffff;<br />
}<br />
.usercontent a, .usercontent a:link, .usercontent a:visited, .usercontent a:hover, .usercontent a:active {<br />
text-decoration: none;<br />
color: #c9c9d1;<br />
}<br />
.usercontent a:hover {<br />
text-decoration: line-through;<br />
color: #c9c9d1;<br />
}<br />
.commonbox {<br />
border-width: 1px;<br />
border-color: #a2a19c;<br />
border-style: dashed;<br />
background-color: transparent;<br />
}<br />
.commonbox .evenrow {<br />
background-color: transparent;<br />
}<br />
.commonbox h1, .commonbox h2 {<br />
font-family: Verdana, Arial, Helvetica, sans-serif;<br />
color: #a2a19c;<br />
background-color: transparent;<br />
}<br />
.controlpanel {<br />
border-width: 1px;<br />
border-color: #a2a19c;<br />
border-style: dashed;<br />
background-color: transparent;<br />
}<br />
.data a {<br />
text-decoration: none;<br />
}<br />
a.more {<br />
text-decoration: none;<br />
}<br />
#controlPanelButtons a, #controlPanelButtons a:link, #controlPanelButtons a:visited {<br />
font-family: Trebuchet MS;<br />
color: #ffffff;<br />
border-color: #a2a19c;<br />
background-color: transparent;<br />
text-decoration: none;<br />
}<br />
#controlPanelButtons a:hover {<br />
color: #000000;<br />
border-color: #a2a19c;<br />
background-color: #ffffff;<br />
text-decoration: none;<br />
}<br />
.data {<br />
font-family: Trebuchet MS, Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;<br />
color: #ffffff;<br />
}<br />
.commonbox .imgblock75, .ir {<br />
border-width: 1px;<br />
border-color: #a2a19c;<br />
border-style: dashed;<br />
background-color: transparent;<br />
}<br />
.commonbox .dr {<br />
background-color: #000000;<br />
}</p></blockquote>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Puasa Orang Yang Sakit Magh]]></title>
<link>http://ihwansalafy.wordpress.com/?p=436</link>
<pubDate>Sat, 30 Aug 2008 02:44:30 +0000</pubDate>
<dc:creator>Ibnu Abdul Muis</dc:creator>
<guid>http://ihwansalafy.wordpress.com/2008/08/30/puasa-orang-yang-sakit-magh/</guid>
<description><![CDATA[[ 17 ]
Puasa Orang Yang Sakit Magh


Pertanyaan:

Ustadz, istri saya sakit magh dan dokter menyarank]]></description>
<content:encoded><![CDATA[<p style="margin-left:0.25in;margin-bottom:0;" align="center"><span style="color:#ff0000;"><span style="font-family:Guanine;"><span style="font-size:large;"><strong>[ 17 ]</strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="center"><span style="color:#008000;"><span style="font-family:Guanine;"><span style="font-size:large;">Puasa Orang Yang Sakit Magh</span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="center"><a href="http://ihwansalafy.files.wordpress.com/2008/08/dsc20050101_182126_34.jpg"><img class="alignnone size-medium wp-image-437" src="http://ihwansalafy.wordpress.com/files/2008/08/dsc20050101_182126_34.jpg?w=300" alt="" width="300" height="225" /></a></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><strong>Pertanyaan:</strong></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;">Ustadz, istri saya sakit magh dan dokter menyarankan agar makan  rutin dan teratur selama kurang lebih 5 tahun. Dia sudah berusaha untuk puasa tetapi tidak kuat. Apakah yang harus dia lakukan, bolehkan membayar fidyah saja? </span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;"><strong>Abdul Halim – Pamulang, Banten</strong></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><strong>Jawaban :</strong></span></span><!--more--></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;">Jika kondisinya seperti itu dan sudah ditanyakan kepada dokter muslim yang terpercaya dan juga sudah mencoba puasa tetapi tidak kuat, maka tidak apa-apa bagi dia tidak berpuasa sampai dia mampu berpuasa. Setelah itu dia wajib membayar hutang puasa yang ditinggalkannya. Adapun fidyah, dilakukan jika memang tidak mampu sama sekali berpuasa selamanya sedangkan sakitnya tidak bisa diharapkan sembuh. Sebagaimana firman Allah SWT:</span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;">“<span style="font-family:Verdana,sans-serif;">Maka barang siapa di antara kamu ada yang sakit atau dalam perjalanan (lalu ia berbuka), maka (wajib baginya berpuasa) sebanyak hari yang ditinggalkan itu pada hari-hari yang lain. Dan wajib bagi orang-orang yang berat menjalankannya (jika mereka tidak berpuasa) membayar fidyah (yaitu): memberi makan seorang miskin.” (QS Al-Baqarah: 184) </span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"> </span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;"><strong>Selanjutnya : <a href="http://ihwansalafy.wordpress.com/2008/09/04/puasa-dan-shalat-bagi-musafir/">18. Puasa Dan Shalat Bagi Musafir</a></strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;"><strong>Sebelumnya : <a href="http://ihwansalafy.wordpress.com/2008/08/30/puasa-orang-tua-yang-sakit-sakitan/">16. Puasa Orang Tua Yang Sakit-Sakitan</a></strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff6600;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;">[Sumber : Tarhib &#38; Panduan Ramadhan, 50 Tanya Jawab Seputar Ibadah Puasa dan Lainnya, Dr. Salim Segaf Al-Jufri, MA] </span></span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Puasa Orang Tua Yang Sakit-Sakitan]]></title>
<link>http://ihwansalafy.wordpress.com/?p=433</link>
<pubDate>Sat, 30 Aug 2008 02:32:57 +0000</pubDate>
<dc:creator>Ibnu Abdul Muis</dc:creator>
<guid>http://ihwansalafy.wordpress.com/2008/08/30/puasa-orang-tua-yang-sakit-sakitan/</guid>
<description><![CDATA[[ 16 ]
Puasa Orang Tua Yang Sakit-sakitan


Pertanyaan:

Ustadz Salim yang saya hormati, bapak saya ]]></description>
<content:encoded><![CDATA[<p style="margin-left:0.25in;margin-bottom:0;" align="center"><span style="color:#ff0000;"><span style="font-family:Guanine;"><span style="font-size:large;"><strong>[ 16 ]</strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="center"><span style="color:#008000;"><span style="font-family:Guanine;"><span style="font-size:large;">Puasa Orang Tua Yang Sakit-sakitan</span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="center"><a href="http://ihwansalafy.files.wordpress.com/2008/08/dscn0269.jpg"><img class="alignnone size-medium wp-image-434" src="http://ihwansalafy.wordpress.com/files/2008/08/dscn0269.jpg?w=300" alt="" width="300" height="225" /></a></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><strong>Pertanyaan:</strong></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;">Ustadz Salim yang saya hormati, bapak saya sakit-sakitan sehingga jika datang bulan Ramadhan, ia tidak dapat berpuasa. Apa yang harus saya lakukan? </span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;"><strong>Muhammad Umar - Cirebon</strong></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><strong>Jawaban :</strong></span></span><!--more--></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;">Bagi orang yang tidak mampu berpuasa, maka Islam tidak memaksakannya untuk berpuasa. Allah SWT berfirman:</span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#198533;">“<span style="font-family:Verdana,sans-serif;"><em>Allah tidak membebani seseorang melainkan sesuai dengan kesanggupannya.” </em></span></span><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;">(QS. Al Baqarah: 286)</span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;">Jika bapak anda masih relatif muda dan ada kemungkinan sembuh dari penyakitnya, maka dia wajib mengqodho ketika sembuh. Tetapi kalau bapak anda sudah tua dan penyakitnya sulit disembuhkan, maka dia dikenakan fidyah memberi makan kepada fakir miskin sebanyak puasa yang ditinggalkannya, sesuai ayat:</span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#198533;">“<span style="font-family:Verdana,sans-serif;"><em>Dan wajib bagi orang-orang yang berat menjalankannya (jika mereka tidak berpuasa) membayar fidyah, (yaitu): memberi makan seorang miskin.”</em></span></span><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;"> (QS Al-Baqarah : 184) </span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"> </span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;"><strong>Selanjutnya : <a href="http://ihwansalafy.wordpress.com/2008/08/30/puasa-bagi-manula/">15. Puasa Bagi Manul </a></strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;"><strong>Sebelumnya : <a href="http://ihwansalafy.wordpress.com/2008/08/30/puasa-orang-yang-sakit-magh/">17. Puasa Orang Yang Sakit Magh</a></strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff6600;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;">[Sumber : Tarhib &#38; Panduan Ramadhan, 50 Tanya Jawab Seputar Ibadah Puasa dan Lainnya, Dr. Salim Segaf Al-Jufri, MA] </span></span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Puasa Bagi Manula]]></title>
<link>http://ihwansalafy.wordpress.com/?p=428</link>
<pubDate>Sat, 30 Aug 2008 02:24:08 +0000</pubDate>
<dc:creator>Ibnu Abdul Muis</dc:creator>
<guid>http://ihwansalafy.wordpress.com/2008/08/30/puasa-bagi-manula/</guid>
<description><![CDATA[[ 15 ]
Puasa Bagi Manula


Pertanyaan:

Ustadz bagaimana hukumnya, seorang yang sudah lanjut usia da]]></description>
<content:encoded><![CDATA[<p style="margin-left:0.25in;margin-bottom:0;" align="center"><span style="color:#ff0000;"><span style="font-family:Guanine;"><span style="font-size:large;"><strong>[ 15 ]</strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="center"><span style="color:#008000;"><span style="font-family:Guanine;"><span style="font-size:large;">Puasa Bagi Manula</span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="center"><a href="http://ihwansalafy.files.wordpress.com/2008/08/dsc20041231_182947_45.jpg"><img class="alignnone size-medium wp-image-429" src="http://ihwansalafy.wordpress.com/files/2008/08/dsc20041231_182947_45.jpg?w=225" alt="" width="225" height="300" /></a></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><strong>Pertanyaan:</strong></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;">Ustadz bagaimana hukumnya, seorang yang sudah lanjut usia dan tidak mampu lagi berpuasa, apa yang harus dilakukan? </span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;"><strong>Khodijah - Palembang</strong></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><strong>Jawaban :</strong></span></span><!--more--></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"><span style="font-family:Verdana,sans-serif;">Seorang yang lanjut usia dan tidak mampu lagi berpuasa maka dia harus membayar fidyah yaitu memberi makan kepada fakir miskin sejumlah hari tidak puasa. Adapun besarnya makanan yang diberikan adalah ½ sha atau 2 mud atau sekitar 1.1 kg beras dan dapat juga berupa makanan matang atau uang yang senilai harganya. </span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#0000ff;"> </span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;"><strong>Selanjutnya : <a href="http://ihwansalafy.wordpress.com/2008/08/30/puasa-orang-tua-yang-sakit-sakitan/">16. Orang Tua Yang Sakit-Sakitan</a></strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff0000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;"><strong>Sebelumnya : <a href="http://ihwansalafy.wordpress.com/2008/08/30/keguguran-saat-puasa/">14. Keguguran Saat Berpuasa</a></strong></span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff6600;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;">[Sumber : Tarhib &#38; Panduan Ramadhan, 50 Tanya Jawab Seputar Ibadah Puasa dan Lainnya, Dr. Salim Segaf Al-Jufri, MA] </span></span></span></p>
<p style="margin-left:0.25in;margin-bottom:0;" align="justify">
<p style="margin-left:0.25in;margin-bottom:0;" align="justify"><span style="color:#ff6600;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:x-small;"><strong>Tag : tarhib ramadhan, panduan ramadhan, Tanya jawab ramadhan, salim segaf al-jufri, puasa, puasa wanita, hukum, manula, sha, mud</strong></span></span></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Wie ich Emi fand und wieder verlor.]]></title>
<link>http://meinbuch.wordpress.com/?p=28</link>
<pubDate>Mon, 25 Aug 2008 09:29:46 +0000</pubDate>
<dc:creator>rick</dc:creator>
<guid>http://meinbuch.wordpress.com/2008/08/25/wie-ich-emi-fand-und-wieder-verlor/</guid>
<description><![CDATA[Unsere Wege kreuzten sich für ein paar Augenblicke. Sie war auf der Durchreise, für nur einen Tag ]]></description>
<content:encoded><![CDATA[<p>Unsere Wege kreuzten sich für ein paar Augenblicke.<span> </span>Sie war auf der Durchreise, für nur einen Tag in Kairo. Ich verbrachte die Tage mit Han. Emi &#38; ich teilen einen Freund, also tauschten wir Adressen. Ich sah sie nie wieder. Und doch wurde sie zu meinem Gesprächspartner.</p>
<p class="MsoNormal">Wir redeten über Träume, unsere Familien und mindestens einmal am Tag übers Kochen. Sie ist ein Pasta-Chef, zaubert in einem kleinen Restaurant.</p>
<p class="MsoNormal">Wir versprachen uns zu sehen. Ihr Geburtstag schien der perfekte Zeitpunkt zu sein. Ich beantwortete ihre Einladung mit einem bedeutungsschweren „Vielleicht, bestimmt!“. Emi wohnt rund Zehn Busstunden von mir entfernt. Ich plante die Reise und entschied einen Tag vor der Feier nicht zu fahren.</p>
<p class="MsoNormal">Emi war verschwunden! Nur virtuell, den bis auf den einen Augenblick in Kairo hatte ich sie nie wieder gesehen.</p>
<p class="MsoNormal">Ein paar Tage zuvor änderte sie ihren Facebook-Status zu „bitte nicht wecken“. Ich schrieb eine Nachricht, dass ich sie niemals wecken würde. Sie antwortete, darüber würde sie sich auch sehr wundern, schließlich lebe ich in einem anderen Land und ich habe noch nicht einmal ihre Telefonnummer.</p>
<p class="MsoNormal">Was nicht stimmte. Die Nummer stand auf ihrer Geburtstagseinladung. Ich schrieb ihr am nächsten Abend, vielleicht war es auch schon Nacht, dass ich sie zu jeder Tag und Nachtzeit wecken könne. Würde es aber niemals tun.</p>
<p class="MsoNormal">Seit dem herrscht Funkstille.</p>
<p class="MsoNormal">An Emis Geburtstag rief mich Sha an. Sie war aufgebracht, was ich liebe. „Who the fuck is Emi?“, schrie sie ins Telefon. Sie habe sich auf meiner Facebookseite umgesehen. Und sich gefragt, warum Emi so oft auf meine Pinnwand schreibe. <span lang="EN-GB">„I don´t like her! </span>She is obsesed with you.“</p>
<p class="MsoNormal">Sofort verdächtigte ich sie, erzählte, dass ich Emi seit zwei Tagen nicht mehr erreichen könne.</p>
<p class="MsoNormal"><span lang="EN-GB">„You see“, meinte sie, people I don´t like just disappear.”</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Hot Excerpt - Savage Retribution]]></title>
<link>http://lexxiecouper.wordpress.com/?p=108</link>
<pubDate>Tue, 29 Jul 2008 09:36:20 +0000</pubDate>
<dc:creator>lexxiecouper</dc:creator>
<guid>http://lexxiecouper.wordpress.com/2008/07/29/hot-excerpt-savage-retribution/</guid>
<description><![CDATA[It&#8217;s been a while since I shared anything from the first in my Savage Australia series so - to]]></description>
<content:encoded><![CDATA[<p><img class="alignleft" src="http://samhainpublishing.com/graphics/597.jpg" alt="" width="200" height="300" />It's been a while since I shared anything from the first in my Savage Australia series so - to celebrate the creative explosion that has given me the premise for the next <a href="http://lexxiecouper.wordpress.com/2008/07/25/yay/">Savage book</a> - here's an excerpt from Savage Retribution. Enjoy.</p>
<p>Regan opened her eyes. Slowly. She peered around the dark room, squinting at the thin shards of bright light pushing through a narrow crack in the curtains on the far wall. Where was she?<br />
She pressed her palms to the spongy mattress beneath her and struggled into a sitting position, taking in the kitsch, framed prints on the wall and the sunken bed beside her. A hotel room? Was she in a hotel room? The sound of traffic hummed beyond the walls; cars, trucks, motorcycles, and behind those typical urban noises the distant cries and squawks of seagulls. God, she could be anywhere.<br />
Swinging her legs around, she placed her bare feet on the floor and pushed herself upright. Black swirling stars filled her head immediately and she flopped back down to the bed, a dull throb pounding up her jaw into her temple. She lifted her hand, running her fingers along the aching beat.<br />
Damn it! He’d hit her! He’d actually hit her.<br />
“I’m sorry about that.”<br />
The softly spoken words with their even softer accent caressed her ears and she spun around, staring through a fresh wave of black stars at the man sitting in the armchair behind her.<br />
At some stage he’d found himself some clothes. A pair of very faded blue jeans hugged his long, lean legs, emphasizing the corded strength of his thighs and impressive bulge between them, and a black Ramones t-shirt covered a torso Regan remembered being hard and smooth and wonderful to touch. A squeezing sensation rolled through her belly into the warm centre between her legs. Regan scowled. Goddamn it! The man had kidnapped her and here she was feeling horny? She steadied herself on the bed, giving her abductor a mean glare. “Yeah, well sorry doesn’t cut it, mate. If you wanted me to leave that badly you could’ve asked.”<br />
To her surprise, the man laughed, the sound rich and relaxed. “I did ask. You decided to make a phone call, remember?”<br />
Regan closed her eyes. Shit. Peter would be going out of his mind. Probably had the entire Sydney City Police Force out looking for her.<br />
<em>And with good reason?</em><br />
She flicked a shuttered gaze to the man watching her. She didn’t know. Yet.<br />
“I truly am sorry about the jaw.” The Irish lilt played over her senses like a feather and she suppressed a shiver. She really needed to get her act together. Who knew what he had in store for her? “But we had to go. I couldn’t wait.” Grey storm-cloud eyes grew intense. “We couldn’t wait.”<br />
Regan edged into a more comfortable, but easy-to-spring-from position on the bed, checking out how close and easy to reach the phone was in case she needed to swing it. “What are you?”<br />
The blunt question didn’t seem to offend him. In fact, those defined lips curled into a small smile. “Apart from a freak, you mean?”<br />
Regan didn’t bat an eyelid. “Yes. Apart from that.”<br />
“A werewolf.”<br />
It was Regan’s turn to laugh. “Oh, right. A werewolf. Of course. Why didn’t I think of that?”<br />
The man’s smile stretched wider. “I thought it was pretty obvious myself, love. Considering one minute you were stroking my fur and running your fingers up and down my four legs—which I enjoyed immensely, I might add—and the next I was standing before you on two. Furless.”<br />
A very large, hard lump suddenly stuck in Regan’s throat and her head swam again. The memory of the wolf’s unusual humerus and pelvic bone crashed over her, as did her surreal response to the animal’s inherent power. Her skin prickled into clammy gooseflesh. She stared at the man still watching her from his chair, her pulse a rapid hammer pounding in her neck. “Holy shit.”<br />
The man’s smile turned dry. “There’s nothing holy about werewolves, love.”<br />
Frazzled anger shot through Regan and she gave her abductor a glare. “Stop calling me love.”<br />
Even blacker eyebrows shot up, a light she could only describe as mischievous glinting in his grey eyes. His smile grew wider. Wolfish. “And what would you be having me call you, then?”<br />
“My name’s Regan.”<br />
With a speed she’d seen from him before, both as man and wolf, he was on his feet, across the short distance between them and beside the bed. He extended his right hand, the mischievous light in his eyes now devilish. “Declan O’Connell. Your kidnapper for the day.”<br />
Regan ignored his hand, even as a tight, wet heat unfurled in the pit of her stomach at his proximity. His clean but musky scent threaded through her breath and she pressed her thighs closer together, trying her best to ignore the constricting pressure between them. “For the day?” she repeated, looking at him squarely in the face. “So this is just a twenty-four hour thing? Like a twenty-four hour flu?” She paused. “Only more annoying?”<br />
The man—Declan—chuckled, but Regan didn’t miss the dark tension in his gaze. “Perhaps ‘for the day’ was a poor choice of words.”<br />
Regan clenched her fists and jaw. “Perhaps you should tell me what the hell is going on. Because at this point in time, I’m very close to picking up the phone and braining you with it. Hard.” She narrowed her eyes. “I’m still not convinced this isn’t all just a bad dream left over from my run-in with Epoc’s security guards.”<br />
Strong fingers pinched her shoulder before she could move. “Feel that?”<br />
<em>Damn, he’s fast. </em>The thought sent a chill straight up her spine. How the hell was she to get away when he moved like a…<br />
<em>Like an animal?</em><br />
Stomach fluttering, Regan looked up into the smoldering grey eyes. Damn it, she was in trouble. A heavy lump formed in her throat again and she swallowed. “What’s going on? No bullshit, no Irish charm, okay?”</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Kombinacje z powtórzeniami - algorytm w PHP]]></title>
<link>http://whitedervish.wordpress.com/?p=343</link>
<pubDate>Thu, 17 Jul 2008 11:48:29 +0000</pubDate>
<dc:creator>WhiteDervish</dc:creator>
<guid>http://whitedervish.wordpress.com/2008/07/17/kombinacje-z-powtorzeniami-algorytm-w-php/</guid>
<description><![CDATA[Wczoraj, pomyślałem sobie żeby napisać aplikację, która wypisywałaby wszystkie możliwe kombi]]></description>
<content:encoded><![CDATA[<p>Wczoraj, pomyślałem sobie żeby napisać aplikację, która wypisywałaby wszystkie możliwe kombinacje ciągu znaków o długości <strong>a</strong>, w którego skład wchodzą elementy zbioru <strong>b</strong>. Na początku nie mogłem wpaść na pomysł jak takie coś napisać. Ostatecznie jednak udało mi się stworzyć taką aplikację w PHP. O dziwo kod wcale nie jest skomplikowany. Skrypt zajął mi równe 30 linijek kodu.<br />
<!--more--><br />
Próbowałem sam napisać tę aplikację, lecz niestety nie udawało mi się zrobić niczego sensowniejszego. Zacząłem szukać czegoś w Google'u. Dowiedziałem się, że takimi rzeczami zajmuje się kombinatoryka. Poczytałem trochę o tym w <a title="Kombinatoryka - Wikipedia, wolna encyklopedia" href="http://pl.wikipedia.org/wiki/Kombinatoryka" target="_blank">Wikipedii</a>. Najpierw zainteresowało mnie tworzenie kombinacji bez powtórzeń. Zacząłem szukać w Google'u jakiegoś algorytmu tworzącego takie kombinacje. <a href="http://forum.di.com.pl/showthread.php?t=7298" target="_blank">Znalazłem</a>. Zobaczyłem czy program, podany przez jednego z użytkowników tamtejszego forum, działa. Działał. Lekko go zmodyfikowałem tak żeby powstałe kombinacje zapisywał do plików tekstowych.</p>
<p>Po krótkim czasie zorientowałem się jednak, że jeżeli mam tworzyć wszystkie możliwe kombinacje ciągu znaków - o co mi chodziło - , to nie może być tak, że poszczególne elementy w ciągu się nigdy nie powtarzają. Pomyliłem się trochę. Musiałem napisać aplikację tworzącą kombinacje <strong>z powtórzeniami</strong>.</p>
<p>Wyłączyłem komputer i już go więcej wczoraj nie włączałem. Myślałem jednak, jeszcze tego dnia, nieco o kombinacjach z powtórzeniami. Pomyślałem, że możnaby to zrobić analogicznie do liczenia wzwyż w jakimkolwiek systemie liczbowym. 1, 2, 3, 4, 5, ..., 23, 24 itd. Miałbym wtedy zarówno ciągi typu 123, jak i 112, 333 itp. Zrobiłbym tablicę dziesięciu elementów i potem w pętli bym je wszystkie wypisał. No tak... Tych elementów będzie przecież nacznie więcej.<br />
Ale przecież jest system szesnastkowy. Do tego, przecież ( ;) ), w każdym systemie liczbowym liczy się praktycznie w ten sam sposób. W systemie dziesiętnym liczymy:<br />
<code>1, 2, 3, 4, ..., 9, 10, 11, 12</code><br />
Za to w systemie szesnastkowym:<br />
<code>1, 2, 3, 4, ..., 9, a, b, c, ..., f, 10, 11</code><br />
Jeżeli chodzi o problem długości generowanych ciągów, to by ciągi miały taką samą długość wystarczy na początku dodać pierwszy znak znajdujący się w tablicy.</p>
<p>Dzisiaj, napisałem skrypt, który, można powiedzieć: liczy od zera wzwyż w dowolnym wymyślonym systemie liczbowym. Wystarczy określić elementy zbioru z których mają być generowane ciągi i długość wyjściowych ciągów. Zarówno ilość elementów, jak i długość wyjściowych ciągów może być właściwie nieograniczona. Jedynym ograniczeniem jest tutaj wydajność procesora jednostki, na której skrypt chcemy uruchomić. Skrypt, który napisałem, w pierwotnej postaci po prostu wyświetla wszystkie ciągi, jakie wygeneruje. Nie jest to zbyt dobre rozwiązanie, szczególnie gdy ciągów tych może być bardzo wiele.</p>
<p>Wzór na ilość ciągów znaków wygląda tak:<br />
<code>n! / k!(n - k)!</code><br />
gdzie:<br />
n - ilość elementów zbioru<br />
k - długość ciągu</p>
<p>Jeżeli chcemy generować duże ilości ciągów, to najlepiej zapisywać co jakiś czas wygenerowane ciągi do plików. Np. po 100000 ciągów w jednym pliku.</p>
<p>A po co mi generować takie ciągi znaków? A dla zabawy ;) . Właściwie, to chciałbym stworzyć sobie bazę ciągów znaków wraz z odpowiadającymi im hashami MD5, SHA etc. :) . Zadanie karkołomne :D .</p>
<p>Edycja.<br />
Jeszcze trochę kodu dla tych, którzy z samego opisu nie wiedzą nadal jak wygenerować ciągi o których piszę.</p>
<p>Naszym zbiorem elementów będzie ciąg znaków <strong>$lista</strong>. Umieścimy w nim znaki tworzące liczby w systemie szesnastkowym:<br />
<code>$lista = '0123456789abcdef'</code><br />
Jeżeli chcemy, by ciągi znaków miały długość jednego znaku, to używamy do tego jednej pętli:</p>
<pre>
for($a = 0; $a &#60; strlen($lista); ++$a)
{
  echo $lista[$a];
}
</pre>
<p>Jeśli chcemy, by ich długość wynosiła 2, to używamy dwóch pętli:</p>
<pre>
for($a = 0; $a &#60; strlen($lista); ++$a)
{
  for($b = 0; $b &#60; strlen($lista); ++$b)
  {
    echo "$lista[$a]$lista[$b]";
  }
}
</pre>
<p>itd. Proste :) .</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Crackers Online para MD5, MD4 y SHA]]></title>
<link>http://julianrdz.wordpress.com/?p=306</link>
<pubDate>Sun, 06 Jul 2008 09:20:09 +0000</pubDate>
<dc:creator>Julián Rodríguez</dc:creator>
<guid>http://julianrdz.wordpress.com/2008/07/06/crackers-online-para-md5-md4-y-sha/</guid>
<description><![CDATA[http://www.milw0rm.com/cracker/
http://www.plain-text.info/add/
http://www.securitystats.com/tools/h]]></description>
<content:encoded><![CDATA[<blockquote>http://www.milw0rm.com/cracker/<br />
http://www.plain-text.info/add/<br />
http://www.securitystats.com/tools/hashcrack.php<br />
http://www.passcrack.spb.ru/<br />
http://gdataonline.com/seekhash.php<br />
http://www.md5-brute.com/<br />
http://www.md5encryption.com/<br />
http://www.insidepro.com/hashes.php?lang=rus<br />
http://www.cirt.net/cgi-bin/passwd.pl<br />
http://passcracking.ru<br />
http://www.hashchecker.com/?_sls=add_hash<br />
http://www.tydal.nu/category/<br />
http://md5.dustinfineout.com/<br />
http://www.md5-db.com/<br />
http://www.md5hashes.com/<br />
http://sha1search.com/<br />
http://md5.xpzone.de/<br />
http://www.csthis.com/md5/<br />
http://md5.benramsey.com/<br />
http://www.md5this.com/crack-it-/index.php<br />
http://hackerscity.free.fr/<br />
http://ice.breaker.free.fr/<br />
http://md5search.deerme.org/<br />
http://www.md5decrypter.com/<br />
http://securitydb.org/cracker/<br />
http://plain-text.info/index/<br />
http://www.tmto.org/?category=main&#38;page=home<br />
http://md5.geeks.li/<br />
http://hashreverse.com/<br />
http://md5.overclock.ch/biz/index.php?p=md5crack&#38;l=en<br />
http://md5crack.it-helpnet.de/index.php?op=add<br />
https://astalavista.net/index.php?<br />
http://md5search.uk.to/</p></blockquote>
<blockquote><p><strong>md5:</strong><br />
http://74.52.200.226/~b4ck/passhash/index.php<br />
http://www.tmto.org/<br />
http://md5.rednoize.com<br />
http://nz.md5.crysm.net<br />
http://us.md5.crysm.net<br />
http://www.xmd5.org<br />
http://gdataonline.com<br />
http://www.hashchecker.com<br />
http://passcracking.ru<br />
http://www.milw0rm.com/md5<br />
http://plain-text.info<br />
http://www.securitystats.com/tools/hashcrack.php<br />
http://www.schwett.com/md5/ - Does Norwegian words too<br />
http://passcrack.spb.ru/<br />
http://shm.pl/md5/<br />
http://www.und0it.com/<br />
http://www.neeao.com/md5/<br />
http://md5.benramsey.com/<br />
http://www.md5decrypt.com/<br />
http://md5.khrone.pl/<br />
http://www.csthis.com/md5/index.php<br />
http://www.md5decrypter.com/<br />
http://www.md5encryption.com/<br />
http://www.md5database.net/<br />
http://md5.xpzone.de/<br />
http://md5.geeks.li/<br />
http://www.hashreverse.com/<br />
http://www.cmd5.com/english.aspx<br />
http://www.md5.altervista.org/<br />
http://md5.overclock.ch/biz/index.php?p=md5crack&#38;l=en<br />
http://alimamed.pp.ru/md5/ (for those who can't read russian: put your md5 in the second box)<br />
http://md5crack.it-helpnet.de/index.php?op=add<br />
http://cijfer.hua.fi/<br />
http://shm.hard-core.pl/md5/<br />
http://www.mmkey.com/md5/HOME.ASP<br />
http://www.thepanicroom.org/index.php?view=cracker<br />
http://rainbowtables.net/services/results.php<br />
http://rainbowcrack.com/<br />
http://www.securitydb.org/cracker/<br />
http://passwordsecuritycenter.com/in...roducts_ id=7<br />
http://0ptix.co.nr/md5<br />
https://www.astalavista.net/?cmd=rainbowtables<br />
http://ice.breaker.free.fr/<br />
http://www.md5this.com<br />
http://www.pldsecurity.de/forum/md5.php<br />
http://www.xeons.net/genesis/<br />
http://hackerscity.free.fr/<br />
http://bisix.cogia.net/<br />
http://md5.allfact.info/<br />
http://bokehman.com/cracker/<br />
http://www.tydal.nu/article/md5-crack/<br />
http://ivdb.org/search/md5/<br />
http://md5.netsons.org/<br />
http://md5.c.la/<br />
http://www.jock-security.com/md5_database/?page=crack<br />
http://c4p-sl0ck.dyndns.org/cracker.php<br />
http://www.blackfiresecurity.com/tools/md5lib.php<br />
http://www.md5-db.com/index.php</p></blockquote>
<blockquote><p><strong>md4:</strong><br />
http://www.securitystats.com/tools/hashcrack.php<br />
http://rainbowtables.net/services/results.php<br />
http://rainbowcrack.com/</p></blockquote>
<blockquote><p><strong>sha1:</strong><br />
http://passcrack.spb.ru/<br />
http://www.hashreverse.com/<br />
http://rainbowcrack.com/<br />
http://www.md5encryption.com/<br />
http://www.shalookup.com/<br />
http://md5.rednoize.com/<br />
http://c4p-sl0ck.dyndns.org/cracker.php<br />
http://www.tmto.org/<br />
http://linardy.com/md5.php<br />
http://www.gdataonline.com/seekhash.php<br />
https://www.w4ck1ng.com/cracker/<br />
http://search.cpan.org/~blwood/Digest-MD5-Reverse-1.3/<br />
http://www.hashchecker.com/index.php?_sls=search_hash<br />
http://www.rainbowcrack-online.com/<br />
http://schwett.com/md5/<br />
http://www.md5.org.cn/index_en.htm<br />
http://www.xmd5.org/index_en.htm<br />
http://nz.md5.crysm.net/<br />
http://us.md5.crysm.net/<br />
http://gdataonline.com/seekhash.php<br />
http://passcracking.ru/<br />
http://shm.pl/md5/<br />
http://www.neeao.com/md5/<br />
http://md5.benramsey.com/<br />
http://www.md5decrypt.com/<br />
http://md5.khrone.pl/<br />
http://www.csthis.com/md5/index.php<br />
http://www.md5decrypter.com/<br />
http://www.md5encryption.com/<br />
http://www.md5database.net/<br />
http://md5.xpzone.de/<br />
http://www.hashreverse.com/<br />
http://alimamed.pp.ru/md5/<br />
http://md5crack.it-helpnet.de/index.php?op=add<br />
http://shm.hard-core.pl/md5/<br />
http://rainbowcrack.com/<br />
http://passwordsecuritycenter.com/in...;products_id=7<br />
https://www.astalavista.net/?cmd=rainbowtables<br />
http://ice.breaker.free.fr/<br />
http://www.md5this.com/<br />
http://hackerscity.free.fr/<br />
http://md5.allfact.info/<br />
http://bokehman.com/cracker/<br />
http://www.tydal.nu/article/md5-crack/<br />
http://passcracking.com/<br />
http://ivdb.org/search/md5/<br />
http://md5.netsons.org/<br />
http://md5.c.la/<br />
http://www.md5-db.com/index.php<br />
http://md5.idiobase.de/<br />
http://md5search.deerme.org/<br />
http://sha1search.com/</p></blockquote>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Brokers, analysts say the worst will be over soon]]></title>
<link>http://managemyself.wordpress.com/?p=19</link>
<pubDate>Wed, 02 Jul 2008 15:27:40 +0000</pubDate>
<dc:creator>ibsgroupb</dc:creator>
<guid>http://managemyself.wordpress.com/2008/07/02/brokers-analysts-say-the-worst-will-be-over-soon/</guid>
<description><![CDATA[Brokers, analysts say the worst will be over soon
AS SENSEX SLIPS BELOW 13,000&#8230;
BS Reporter / ]]></description>
<content:encoded><![CDATA[<p>Brokers, analysts say the worst will be over soon<br />
AS SENSEX SLIPS BELOW 13,000...<br />
BS Reporter / Mumbai July 02, 2008, 0:15 IST</p>
<p>The markets are nearing the bottom and the worst will be over soon. That's the overwhelming mood among a range of brokers, research analysts and fund managers, according to a poll conducted by Business Standard on a day the Bombay Stock Exchange's benchmark Sensex shed 499 points to close below 13,000.</p>
<p>Over 90 per cent of the 25 market participants in this dip-stick survey said the immediate bottom could come between 12,500 and 12,700 for the Bombay Stock Exchange Sensitive Index and 3,600 and 3,800 for the National Stock Exchange's Nifty.</p>
<p>Most respondents believed crude oil prices, which have risen 38 per cent between April and June, the biggest quarterly increase in nine years, and India's political stability will determine the course of the markets.</p>
<p>Most brokers felt that the valuations of many stocks have dropped to levels seen after the dotcom crash in 2001. This could attract some buying from foreign institutional investors (FIIs). They also expect crude oil prices to cool soon.</p>
<p>"There has been a crisis of confidence," said Motilal Oswal, chairman, Motilal Oswal Financial Services. Oswal, however, felt that the market is close to the bottom and investors should look for buying opportunities.</p>
<p>Jignesh Desai, who heads institutional broking at SBI Capital Market, said, "The market looks in oversold territory as most negative news flows have been discounted — a view shared by Lalit Thakkar, Director-Research, at Angel Broking.</p>
<p>India's markets, in line with global markets, have been falling since January, when the crisis in the sub-prime or high-risk home loan market in the US saw significant write-downs by major US investment banks, causing foreign investors to pull back commitments to emerging markets in particular.</p>
<p>More negative news, such as steadily rising domestic and global inflation on the back of sharp rises in crude, commodities and food prices, has taken its toll since. On Tuesday, the benchmark indices closed at their lowest levels since April 2007.</p>
<p>For investors, 2008 is proving a nightmare so far. In sharp contrast to calendar 2007, when the Sensex rose a dizzying 6,500.08 points or 47.15 per cent, from 13,786.91 to 20,286.99, the benchmark index has dropped 7,325.31 points, or 36.11 per cent, since January, wiping out Rs 30,06,350 crore in market capitalisation.</p>
<p>Nilesh Shah, deputy MD, ICICI Prudential Asset Management Company, said record high crude oil prices are the biggest factor for the market fall in recent months.</p>
<p>"FIIs are selling because higher crude oil prices pose a threat to inflation stability and the fiscal deficit. The market will bottom out when there is evidence that crude oil prices have reached their peak and are expected to come down," he added.</p>
<p>Manish Sonthalia of Motilal Oswal said the market is waiting for one positive trigger and this could push the Sensex up by 10 per cent.</p>
<p>Some respondents, however, still feel that the market has not bottomed out. A large foreign research house said the fall in the last 10 sessions is unprecedented on the back of heavy FII selling. "It's difficult to pinpoint a bottom level," he said.</p>
<p>Kamlesh Kotak, VP (Research) at Asian Market Securities, said the major reason the market is falling is the uncertainty surrounding the stability of the government. The United Progressive Alliance is facing pressure from the four left parties that support it in Parliament to jettison the Indo-US civil nuclear deal, raising fears of an early general election.</p>
<p>Kotak feels market may go below 11,000 before bottoming out. Added Nirmal Jain, CMD, India Infoline, "Sentiment is very bad in India and this may lead the Sensex to touch 12,000. In the worst-case scenario, it may go even below that."</p>
<p>‘The market is very much near the bottom and investors should look for buying opportunities'<br />
Motilal Oswal,<br />
Motilal Oswal Financial Services</p>
<p>‘The market looks in oversold territory as most negative news flows have been discounted'<br />
Jignesh Desai,<br />
SBI Capital Market</p>
<p>‘The market will bottom out when crude oil prices have reached their peak'<br />
Nilesh Shah,<br />
Prudential AMC</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Sepia abuse]]></title>
<link>http://benevolentsnark.wordpress.com/?p=68</link>
<pubDate>Tue, 01 Jul 2008 12:32:22 +0000</pubDate>
<dc:creator>benevolentsnark</dc:creator>
<guid>http://benevolentsnark.wordpress.com/2008/07/01/sepia-abuse/</guid>
<description><![CDATA[What the Glacial Drumlin Trail looked like in 1890:

Jaykay, it was a GRAVEL trail back then&#8230; ]]></description>
<content:encoded><![CDATA[<p>What the <a href="http://www.glacialdrumlin.com/Home.html" target="_blank">Glacial Drumlin Trail</a> looked like in 1890:</p>
<p><a href="http://benevolentsnark.files.wordpress.com/2008/06/photo_061808_001-medium.jpg"><img class="alignnone size-full wp-image-70" src="http://benevolentsnark.wordpress.com/files/2008/06/photo_061808_001-medium.jpg" alt="" width="480" height="384" /></a></p>
<p>Jaykay, it was a GRAVEL trail back then... Gravel left behind by the glaciers and a caveman named Drumlin. And the Native Americans worked side by side with the early settlers to put up the transmission lines. True story.</p>
<p><a href="http://benevolentsnark.files.wordpress.com/2008/06/photo_061508_011-medium1.jpg"><img class="alignnone size-full wp-image-72" src="http://benevolentsnark.wordpress.com/files/2008/06/photo_061508_011-medium1.jpg" alt="" width="480" height="384" /></a></p>
<p><a href="http://benevolentsnark.files.wordpress.com/2008/06/photo_061808_003-medium.jpg"><img class="alignnone size-full wp-image-73" src="http://benevolentsnark.wordpress.com/files/2008/06/photo_061808_003-medium.jpg" alt="" width="480" height="384" /></a><em><br />
When the pimp's in the crib ma, drop it like it's hot</em></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Suoni d'Europa: Germania, Austria, Svizzera, Liechtenstein]]></title>
<link>http://euromusica.wordpress.com/?p=55</link>
<pubDate>Sat, 28 Jun 2008 06:16:18 +0000</pubDate>
<dc:creator>emanuele75</dc:creator>
<guid>http://euromusica.wordpress.com/2008/06/28/suoni-deuropa-germania-austria-svizzera-liechtenstien/</guid>
<description><![CDATA[Quuatro paesi insieme per la seconda puntata del nostro viaggio al centro della musica perchè Germa]]></description>
<content:encoded><![CDATA[<p style="text-align:justify;"><em>Quuatro paesi insieme per la seconda puntata del nostro viaggio al centro della musica perchè Germania, Austria e Svizzera viaggiano di pari passo, sia a livello di classifica che in generale di lingua (anche se in Svizzera quelle ufficiali sono quattro). Il piccolo Liechtenstein propone poche cose ma interessanti. Pronti? Via con la copertina</em>.<em> Per i video, cliccate sui titoli.</em></p>
<p style="text-align:justify;"><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/SaY1WEcjlmg'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/SaY1WEcjlmg&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p style="text-align:justify;">I veri protagonisti della musica tedesca sono loro. Si chiamano <strong>Ich+Ich,</strong> un progetto musicale fra il pop e la dance che sta spopolando da quelle parti. Prima con il singolo "Vom selben stern", cui abbiamo dedicato la copertina, poi con "<a href="http://it.youtube.com/watch?v=3SiCgrW_50Y" target="_blank">So soll es bleiben</a>".</p>
<p style="text-align:justify;">Inglese, spagnolo e tedesco, le lingue della musica made in Germany e se all'Eurofestival le <strong>No Angels</strong> sono arrivate ultime con "<a href="http://it.youtube.com/watch?v=35hSMHaUw8E" target="_blank">Disappear</a>", i suoni più pop vedono come protagonista l'afro-teutonico <strong>Mark Medlock</strong>, che dopo il successo di "<a href="http://it.youtube.com/watch?v=pLJeVtyg4D0" target="_blank">Now or never</a>" ora è protagonista con "<a href="http://it.youtube.com/watch?v=RUQ2Ye3p6IY" target="_blank">Summer love</a>".</p>
<p style="text-align:justify;"><!--more--></p>
<p style="text-align:justify;">Germania paese multietnico: l'italiano<strong> Sasha Pierro</strong> guida i <strong>Marquess</strong>, dei quali <a href="http://euromusica.wordpress.com/2008/06/16/una-canzone-per-lestate-la-histeria-dei-marquess/" target="_blank">avevamo già parlato</a>, un altro italiano, <strong>Nevio Passaro</strong>, ha vinto il locale "Popstar" e ora canta nella nostra lingua "<a href="http://it.youtube.com/watch?v=Szbo72O-jLw" target="_blank">Amore per sempre</a>", ma il veo re del pop è il cantante semi-polacco <strong>Thomas Godoj</strong> con "<a href="http://it.youtube.com/watch?v=Mo-gzmXmPAg&#38;feature=related" target="_blank">Love is you</a>".</p>
<p style="text-align:justify;">Melting -pot atto II. Chi ama il ritmo, tenga d'occhio le <strong>Bisou</strong> (un'italiana, una russa, una azera) con "<a href="http://it.youtube.com/watch?v=jiot8UTFSmc" target="_blank">Die sonne geht auf</a>", le <strong>Monrose</strong> ("<a href="http://it.youtube.com/watch?v=iK297gmiO9Y" target="_blank">Strike the match</a>"), l'italianissima <strong>Sha</strong> (ecco "<a href="http://it.youtube.com/watch?v=N3qGTbx7vdY&#38;feature=related" target="_blank">Kann sein</a>") e le arabeggianti <strong>Milk&#38; Honey</strong> ("<a href="http://it.youtube.com/watch?v=MqWYDlVCM8Q" target="_blank">Did</a>i"). Se invece preferite il rap, allora <strong>Sido</strong> e "<a href="http://it.youtube.com/watch?v=-lCoBx2Ji7E" target="_blank">Augen auf</a>" fanno per voi. Se invece amate i crooner, ascoltate "Frauen <a href="http://it.youtube.com/watch?v=a8wvKWxUs9Y&#38;feature=related" target="_blank">regier'n die welt</a>" di <strong>Roger Cicero</strong>. Merita.</p>
<p style="text-align:justify;">In Austria la cosa più bella è rappresentata dalla bellissima "<a href="http://it.youtube.com/watch?v=jpLjhrGn3UQ">Vergiss mich</a>" del duo stiriano al femminile <strong>Luttenberger*Klug</strong>, ma vanno forte anche i <strong>Christina Sturmer</strong>, dei quali vi proponiamo "Ich <a href="http://it.youtube.com/watch?v=T6MVM3owjAs">Lebe</a>". <strong>Mario Lang</strong>, prodotto del locale "Popstar" spopola con il brano "<a href="http://it.youtube.com/watch?v=MIJiLAD4ZTAhttp://" target="_blank">Bitte reich mit deine hand</a>". <strong>Dj Otzi,</strong> invece è una istituzione in patria e la sua "<a href="http://it.youtube.com/watch?v=A_8dn_HykqI&#38;feature=related" target="_blank">Einen Stern</a>" è davvero tutta da ballare. Nel Liechtentein, va di moda il gothic metal: ecco "<a href="http://it.youtube.com/watch?v=ZDKrL7ko0Ik" target="_blank">Stay with me</a>" dei <strong>Dolores</strong> ma anche "<a href="http://it.youtube.com/watch?v=8yniG9ig0k4" target="_blank">The french and the wine</a>" dei <strong>Weltenbrand</strong>.</p>
<p style="text-align:justify;">Svizzera, terra di dj. <strong>Dj Bobo</strong> lanciò Chihuahua e fu un successone. Ancora meglio è andata ad Yves <strong>La Rock</strong> e la sua "<a href="http://it.youtube.com/watch?v=mouM5fw6HoA" target="_blank">Rise up</a>", mente<strong> Dj Antoine</strong>, che ha appena fatto il remix di Apologize degli OneRepublic, propone anche la sua "<a href="http://it.youtube.com/watch?v=4jU8iNmeeAM" target="_blank">Stop".</a></p>
<p style="text-align:justify;">Lingua di casa nostra. All'Eurofestival 2008 il rossocrociato era <strong>Paolo Meneguzzi</strong>, con "<a href="http://it.youtube.com/watch?v=h0NWEOC3-NU" target="_blank">Era stupendo</a>" (l'Austria non ha partecipato), ma fra gli italofoni la cosa più bella è "<a href="http://it.youtube.com/watch?v=08Oe4WyS7b8" target="_blank">Identità</a>" di<strong> Claudia D'Addio</strong>. (chuudete gli occhi e sognate).</p>
<p style="text-align:justify;">Suoni pop-rock invece per<strong> Piero Esteriore</strong>, oriundo siciliano noto per aver sfasciato volontariamente con la sua auto la sede di un quotidiano svizzero che aveva definito "banchetto mafioso" la sua festa di compleanno in un locale di Zurigo. Ascoltiamo "<a href="http://it.youtube.com/watch?v=rEGWOlJEjYo">Io vivo</a>". Ma in Svizzera si parla anche francese ed allora ecco gli <strong>Stress</strong> con "<a href="http://it.youtube.com/watch?v=LivrlU_bmm0" target="_blank">On n'a qu'une terre</a>", i germanofoni amano invece <strong>Baschi </strong>(qui "<a href="http://it.youtube.com/watch?v=fRsjH0EiykI" target="_blank">Wenn das Gott wüsst</a>") e quelli di lingua romanza (fra il friulano e il lombardo), <strong>Mario Pacchioli</strong> (qui il suo<a href="http://www.mariopacchioli.ch/" target="_blank"> myspace </a>con le canzoni). Chiusura da applausi con la più brava di tutti: <strong>Stephanie Heinzmann</strong>: la sua "Like a bullett" è fenomenale". La trovate qua sotto.</p>
<p style="text-align:justify;"><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/1i17bqQtghA'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/1i17bqQtghA&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Compute and Verify Hash Value Using C#]]></title>
<link>http://devarea.wordpress.com/?p=9</link>
<pubDate>Wed, 25 Jun 2008 08:19:04 +0000</pubDate>
<dc:creator>bugmonster</dc:creator>
<guid>http://devarea.wordpress.com/2008/06/25/compute-and-verify-hash-value/</guid>
<description><![CDATA[ฟังก์ชันสำหรับคำนวนค่า Hash ของไฟล์ โด]]></description>
<content:encoded><![CDATA[<p>ฟังก์ชันสำหรับคำนวนค่า Hash ของไฟล์ โดยสนับสนุนอัลกอริทึ่ม MD5, SHA-1, SHA-256, SHA-384, SHA-512<br />
<!--more--><br />
public static string ComputeMD5Hash(string fileName)<br />
{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return ComputeHash(fileName, new MD5CryptoServiceProvider());<br />
}</p>
<p>public static string ComputeSHA1Hash(string fileName)<br />
{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return ComputeHash(fileName, new SHA1Managed());<br />
}</p>
<p>public static string ComputeSHA256Hash(string fileName)<br />
{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return ComputeHash(fileName, new SHA256Managed());<br />
}</p>
<p>public static string ComputeSHA384Hash(string fileName)<br />
{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return ComputeHash(fileName, new SHA384Managed());<br />
}</p>
<p>public static string ComputeSHA512Hash(string fileName)<br />
{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return ComputeHash(fileName, new SHA512Managed());<br />
}</p>
<p>public static string ComputeHash(string fileName, HashAlgorithm hashAlgorithm)<br />
{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;FileStream stmcheck = File.OpenRead(fileName);<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;try<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;byte[] hash = hashAlgorithm.ComputeHash(stmcheck);<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;string computed = BitConverter.ToString(hash).Replace("-", "");<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return computed;<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;finally<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;stmcheck.Close();<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}<br />
}</p>
<p>public static bool VerifyHash(string fileName,<br />
string hashAlgorithm,<br />
string hashValue)<br />
{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;string expectedHashString = "";<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// Make sure that hashing algorithm name is specified.<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if (hashAlgorithm == null)<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;hashAlgorithm = "";<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// Size of hash is based on the specified algorithm.<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;switch (hashAlgorithm.ToUpper())<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case "SHA1":<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// Compute a new hash string to compare.<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;expectedHashString = ComputeSHA1Hash(fileName);<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;break;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case "SHA256":<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// Compute a new hash string to compare.<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;expectedHashString = ComputeSHA256Hash(fileName);<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;break;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case "SHA384":<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// Compute a new hash string to compare.<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;expectedHashString = ComputeSHA384Hash(fileName);<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;break;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case "SHA512":<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// Compute a new hash string to compare.<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;expectedHashString = ComputeSHA512Hash(fileName);<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;break;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;default: // Must be MD5<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;expectedHashString = ComputeMD5Hash(fileName);<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;break;<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// If the computed hash matches the specified hash,<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;// the plain text value must be correct.<br />
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return (hashValue == expectedHashString);<br />
}</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[SGA Inc]]></title>
<link>http://sgainc1.wordpress.com/?p=3</link>
<pubDate>Tue, 24 Jun 2008 22:29:17 +0000</pubDate>
<dc:creator>sgainc1</dc:creator>
<guid>http://sgainc1.wordpress.com/2008/06/24/sga-inc/</guid>
<description><![CDATA[SGA Inc Company Introduction]
About, asia, business, carlo, Clients, Consultancy, Inc, India, Inform]]></description>
<content:encoded><![CDATA[<p align="center"><span style="color:#000000;"><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><span style="font-family:Times New Roman,serif;"><a href="http://www.sgainc.org/">SGA Inc Company Introduction]</a><br />
<a href="http://www.sgainc.org/">About</a>, <a href="http://www.sgainc.org/">asia</a>, <a href="http://www.sgainc.org/">business</a>, <a href="http://www.sgainc.org/">carlo</a>, <a href="http://www.sgainc.org/">Clients</a>, <a href="http://www.sgainc.org/">Consultancy</a>, <a href="http://www.sgainc.org/">Inc</a>, <a href="http://www.sgainc.org/">India</a>, <a href="http://www.sgainc.org/">Information</a>, <a href="http://www.sgainc.org/">intenet</a>, <a href="http://www.sgainc.org/">IT</a>, <a href="http://www.sgainc.org/">journal</a>, <a href="http://www.sgainc.org/">Kerala</a>, <a href="http://www.sgainc.org/">Kottayam</a>, <a href="http://www.sgainc.org/">Montenegro</a>, <a href="http://www.sgainc.org/">NET</a>, <a href="http://www.sgainc.org/">NEtlaunch.NET</a>, <a href="http://www.sgainc.org/">Online</a>, <a href="http://www.sgainc.org/">SGA</a>, <a href="http://www.sgainc.org/">sgainc</a>, <a href="http://www.sgainc.org/">Shalom</a>, <a href="http://www.sgainc.org/">UK</a>, <a href="http://www.sgainc.org/">US</a>, <a href="http://www.sgainc.org/">working</a>, <a href="http://www.sgainc.org/">World</a> ,<a href="http://www.sgainc.org/">Wide</a>,<a href="http://www.sgainc.org/">One</a>,<a href="http://www.sgainc.org/">NeT</a>,<a href="http://www.sgainc.org/">Abraham</a> ,<a href="http://www.sgainc.org/">George</a>,<a href="http://www.sgainc.org/">SGA Inc</a>,<a href="http://www.sgainc.org/">hill</a>,<a href="http://www.sgainc.org/">SEO</a>,<a href="http://www.sgainc.org/">Net</a> <a href="http://www.sgainc.org/">SGA</a>,<a href="http://www.sgainc.org/">consult</a>,<a href="http://www.sgainc.org/">one</a>,<a href="http://www.sgainc.org/">launch pad</a>,<a href="http://www.sgainc.org/">integration,faster,stronger,smarter,perfection</a> .</span></span></span></span></p>
<p align="center">
<p>Since its inception in 2004, <a href="http://www.sgainc.org/" target="_self">SGA Inc</a> has maintained a strong reputation for quality and excellence throughout the Computer Consulting Industry. This <a href="http://www.sgainc.org/">reputation</a> is reinforced each day as we serve our clients in the manner that has kept many of them as valued clients for over many years</p>
<p>Our long-standing reputation has been built by our exceptional customer service and unprecedented system of screening and qualifying consultants. It is our practice to not only ensure that our consultants have the required technical skills, but that their business knowledge and personality suit the client's working environment.</p>
<p>In addition, our on-going <a href="http://www.sgainc.org/">recruiting</a> program and state-of-the-art "Data Match" <a href="http://www.sgainc.org/">system</a> allows us to continually provide our clients with a wide range of professional consultants that meet their specific needs and criteria.</p>
<p>Our <a href="http://www.sgainc.org/">consultants</a> continually exhibit the necessary skills, motivation and integrity that we require when servicing any organization. <a href="http://www.sgainc.org/" target="_self">SGA Inc</a> dedicated team of Project <a href="http://www.sgainc.org/">Consultants</a>, Coordinators and Recruiters are always ready to provide you with valuable personalized service.</p>
<p><a href="http://www.sgainc.org/" target="_self">SGA Inc</a> considers itself a leader in the <a href="http://www.sgainc.org/">IT consulting</a> staff augmentation industry for the tri-state area. Due to our longevity in the business, our sales staff can go beyond simple order taking to an understanding of “why” something or someone is needed.</p>
<p><a href="http://www.sgainc.org/" target="_self">SGA Inc</a> has developed many <a href="http://www.sgainc.org/">loyal</a> relationships with technical experts in all areas of the computer industry. This <a href="http://www.sgainc.org/">personal</a> <a href="http://www.sgainc.org/">network</a> enhances the speed, quality and consistency of service that <a href="http://www.sgainc.org/">SGA</a> provides to our <a href="http://www.sgainc.org/">customers</a>. It also enables us to supply you with a diverse talent pool available for any length of assignment.</p>
<p><a href="http://www.sgainc.org/" target="_self">SGA Inc</a> maintains a highly specialized database of all consultants that we have been in contact with since 2004. Our database contains a description of the consultant’s current and past skills, the companies that they have worked for, as well as descriptions of the functions they performed. It also contains comments on references from the positions they held and results of their technical exams. This information allows <a href="http://www.sgainc.org/" target="_self">SGA Inc</a> to accurately match consultant’s skills to the demands of the present job requirements.</p>
<p>We also compare the work history and experience of any new consultant candidates to the experience of many others current consultants. This allows us to determine if a consultant has enough experience in a particular as well as the in-depth knowledge required for the job.</p>
<p><a href="http://www.sgainc.org/" target="_self">SGA Inc</a> considers itself a leader in the IT <a href="http://www.sgainc.org/">consulting</a> staff augmentation industry for the tri-state area. Due to our longevity in the business, our sales staff can go beyond simple order taking to an understanding of “why” something or someone is needed.</p>
<p><a href="http://www.sgainc.org/" target="_self">SGA Inc</a> has developed many loyal relationships with technical experts in all areas of the computer industry. This personal network enhances the speed, quality and consistency of service that <a href="http://www.sgainc.org/" target="_self">SGA Inc</a> provides to our customers. It also enables us to supply you with a diverse talent pool available for any length of assignment.</p>
<p><a href="http://www.sgainc.org/" target="_self">SGA Inc</a> maintains a highly loyal and personal relationship with our clientele by God's Grace .</p>
<p><a href="http://www.sgainc.org/" target="_self">SGA Inc</a></p>
<p><!-- 		@page { size: 21cm 29.7cm; margin: 2cm } --></p>
<p>Are you a Senior Computer Consultant? Have you worked on large systems in Fortune 500 companies? Do you have expertise in one or more technology products, methodologies, or business areas? Do you have a minimum of four years experience working in Fortune 500 companies? Do you have three previous managers that will give you excellent references? Does your resume show a good track record? If you answer yes to most of these questions, <a href="http://www.sgainc.org/" target="_self">SGA Inc</a> would like to market you to our clients.</p>
<p>For over 20 years, we have been providing our consultants with the best jobs in the field, for the most competitive wages. We take care of our consultants the way we take care of our clients… with the utmost of professionalism and dedication.</p>
<p style="margin-bottom:0;">At <a href="http://www.sgainc.org/" target="_self">SGA Inc</a></p>
<ul>
<li>
<p style="margin-bottom:0;">We offer the best rates in the 	market for your skills.</p>
</li>
</ul>
<ul>
<li>
<p style="margin-bottom:0;">We will pay you in advance of 	funds receipt from our clients</p>
</li>
</ul>
<ul>
<li>
<p style="margin-bottom:0;">We customize our benefits packages 	to suit your needs.</p>
</li>
</ul>
<ul>
<li>
<p style="margin-bottom:0;">We will never take your resume to 	a client without your approval.</p>
</li>
</ul>
<ul>
<li>We will pay your referral fees.</li>
</ul>
<p>We have an established reputation in the field and are extremely selective with what we present to our consultants. We understand how valuable your time is, and we will not let it be wasted. We work with our clients to set interview times that fit your schedule to minimize any loss of billable hours on your current project.</p>
<p><a href="http://www.sgainc.org/" target="_self">SGA Inc</a> enters into contracts with clients to ensure they are committed to both the rate and duration expected on a project. We give all of our consultants a contract based on the NACCB consultant agreement so that you understand exactly what your job entails. It is our intent to help you make informed decisions about working with <a href="http://www.sgainc.org/" target="_self">SGA Inc</a> and its clients.</p>
<p>By submitting your resume you will be the first to know about new opportunities that suit your skills. Show us what your have to offer, and we'll show you jobs you can't refuse. You can check out our daily job list and even search by keyword for jobs that match your talent. Make sure to visit the job listings page several times a day since we post new openings frequently. Every job on the list is currently available, and we provide specific information on the skills required.</p>
<p style="margin-bottom:0;">Regards .</p>
<p style="margin-bottom:0;"><a href="http://www.sgainc.org/">Shalom</a> <a href="http://www.sgainc.org/">George</a> <a href="http://www.sgainc.org/">Abraham</a> .</p>
<p style="margin-bottom:0;"><a href="http://www.sgainc.org/">SGA Inc</a></p>
<p style="margin-bottom:0;"><a href="http://www.sgainc.org/">www.SGAINC.org</a></p>
<p style="margin-bottom:0;"><a href="http://www.sgainc.org/">NETlaunch.NET</a></p>
<p style="margin-bottom:0;"><a href="http://www.netlaunch.net/">www.NETLAUNCH.net</a></p>
<p style="margin-bottom:0;">ASSOC1</p>
<p style="margin-bottom:0;"><a href="http://www.risingoilprices.wordpress.com">www.risingoilprices.wordpress.com</a></p>
<p style="margin-bottom:0;">
]]></content:encoded>
</item>
<item>
<title><![CDATA[Generando un hash sha1 con ASP.NET y C# de forma sencilla y simple.]]></title>
<link>http://adeshoras.wordpress.com/?p=54</link>
<pubDate>Mon, 23 Jun 2008 21:52:57 +0000</pubDate>
<dc:creator>César</dc:creator>
<guid>http://adeshoras.wordpress.com/2008/06/23/generando-un-hash-sha1-con-aspnet-y-c-de-forma-sencilla-y-simple/</guid>
<description><![CDATA[SHA1 es un algoritmo criptográfico perteneciente a la familia de algoritmos criptográficos SHA (Se]]></description>
<content:encoded><![CDATA[<p>SHA1 es un algoritmo criptográfico perteneciente a la familia de algoritmos criptográficos SHA (Secure Hash Algorithm o Algoritmo de Hash Seguro) de la Agencia Nacional de Seguridad de Estados Unidos y desarrollada por el NIST (National Institude of Standards and Technology).</p>
<p>El primero de estos algoritmos fue desarrollado en el año 93 y fue el SHA (ahora conocido como SHA-0), 4 años después, fue sustituido por el SHA1 y posteriormente han aparecido SHA-224, SHA-256, SHA-384 y SHA-512 y todos son conocidos como SHA-2.</p>
<p>En 1998, se encontró una vulnerabilidad en SHA-0 pero esta no afectaba a SHA1 del cual no se ha encontrado ningún ataque efectivo. En 2004, fueron publicados una serie de ataques sobre hash parecidos al que genera SHA-1 planteándose por lo tanto dudas sobre la seguridad que este aporta.</p>
<p>Por medio del SHA1, vamos a obtener un hash sobre un conjunto de datos. Un hash viene a ser un conjunto de datos obtenido en base a otros.</p>
<p>Este tipo de algoritmos, se usa para certificar que una secuencia de datos no ha sido alterada, ya que si se modifica el valor del hash, implica que esa información ha sido alterada.</p>
<p>SHA1 produce una salida de 160 bits de un mensaje que puede tener un tamaño máximo de 2<sup>64</sup> bits y se basa en principios similares a los usados por Ronald Rivest (del MIT) para desarrollar los algoritmos MD4 y MD5.</p>
<h3>¿Cómo podemos obtener un hash mediante el SHA1?</h3>
<p>Pues vamos a verlo, la verdad es que con c# es sencillo dado que el Framework (como siempre) nos proporcionan unas clases para realizar esto.<!--more--></p>
<p>Lo único que tenemos que hacer es crear una instancia de la clase SHA1 y pasarle un array de bytes al método ComputeHash.<br />
El código necesario es el siguiente:</p>
<p><code>public static string GetSHA1(string str)<br />
{<br />
SHA1 sha1 = SHA1Managed.Create();<br />
ASCIIEncoding encoding = new ASCIIEncoding();<br />
byte[] stream = null;<br />
StringBuilder sb = new StringBuilder();<br />
stream = sha1.ComputeHash(encoding.GetBytes(str));<br />
for (int i = 0; i &#60; stream.Length; i++) sb.AppendFormat("{0:x2}", stream[i]);<br />
return sb.ToString();<br />
}<br />
</code></p>
<p>Y esto es todo amigos míos, como siempre, mi consejo es que os bajéis el código ya que así lo podéis testear con una prueba unitaria y ver cómo funciona en detalle.</p>
<h3>Otros algoritmos criptográficos en A deshoras</h3>
<ul>
<li><a title="Ir a Generando un hash MD5 con ASP.NET y C# de forma sencilla y simple en adeshoras.wordpress.com" href="http://adeshoras.wordpress.com/2008/06/10/generando-un-hash-md5-con-aspnet-y-c-de-forma-sencilla-y-simple/" target="_blank">Generando un hash MD5 con ASP.NET y C# de forma sencilla y simple</a>.</li>
</ul>
<h3>Enlaces relacionados</h3>
<ul>
<li><a title="Ver SHA en Wiki" href="http://es.wikipedia.org/wiki/SHA" target="_blank">El SHA-1 en wiki</a></li>
<li> <a title="ir a SHA1 generator" href="http://www.md5.br-design.co.uk/" target="_blank">Generador de SHA-1</a></li>
</ul>
<h3>Descargas (Download)</h3>
<ul>
<li><a title="//adeshoras.wordpress.com/" href="http://cid-4aa6af1b4a447319.skydrive.live.com/self.aspx/a-deshoras-aplicaciones-y-codigos-de-ejemplo/SHA1Solution-en-adeshoras.wordpress.com.rar" target="_blank">Descárgate el código usado como ejemplo. Este además incluye unas pruebas unitarias para que puedas testearlo</a>.</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Overheard]]></title>
<link>http://benevolentsnark.wordpress.com/?p=40</link>
<pubDate>Mon, 09 Jun 2008 15:30:43 +0000</pubDate>
<dc:creator>benevolentsnark</dc:creator>
<guid>http://benevolentsnark.wordpress.com/2008/06/09/overheard/</guid>
<description><![CDATA[Overheard on the Glacial Drumlin Trail&#8230;
SeriousE cyclist wearing bright neon green:
&#8220;If ]]></description>
<content:encoded><![CDATA[<p>Overheard on the <a href="http://www.dnr.state.wi.us/org/land/parks/specific/glacialdrumlin/index.html" target="_blank">Glacial Drumlin Trail</a>...</p>
<p>SeriousE cyclist wearing bright neon green:<br />
"If Lance was around when Greg LeMond was around-"</p>
<p>SeriousE cyclist wearing bright neon yellow:<br />
"Lance would have kicked his ass?"</p>
<p><a href="http://benevolentsnark.files.wordpress.com/2008/06/poster820057981.jpg"><img class="alignnone size-full wp-image-56" src="http://benevolentsnark.wordpress.com/files/2008/06/poster820057981.jpg" alt="" width="500" height="400" /></a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[西遊記 - Xi you ji (Viatge a occident)]]></title>
<link>http://gaussmonster.wordpress.com/?p=7</link>
<pubDate>Sun, 01 Jun 2008 13:40:53 +0000</pubDate>
<dc:creator>gaussmonster</dc:creator>
<guid>http://gaussmonster.wordpress.com/2008/06/01/%e8%a5%bf%e9%81%8a%e8%a8%98-xi-you-ji-viatge-a-occident/</guid>
<description><![CDATA[Diari d&#8217;abord 1231241,213§∆ 

Aprofitant l&#8217;estrena fa unes setmanes de &#8220;The Fo]]></description>
<content:encoded><![CDATA[<p style="text-align:center;">Diari d'abord 1231241,213§∆ </p>
<p style="text-align:center;"><img class="alignnone" src="http://upload.wikimedia.org/wikipedia/commons/7/78/JourneytotheWest.jpg" alt="Antiga pintura amb tots els personatges" width="400" height="170" /></p>
<p>Aprofitant l'estrena fa unes setmanes de "<a href="http://www.imdb.com/title/tt0865556/" target="_self">The Forbidden Kingrom</a>" de la qual podem dir que no és gaire dolenta tot i ser americana (com podria ser comparant-la amb Iron Monkey <a href="http://youtube.com/watch?v=CqS3PSs71G8">(trailer)</a> ), he decidit explicar on s'ha inspirat la pel·lícula.</p>
<p><a href="http://en.wikipedia.org/wiki/Xi_You_Ji" target="_blank">Xi you ji</a> ( traduït usualment com Peregrinació / Viatge a occident) és un dels Quatre Grans Clàssics de la literatura xinesa. Va ser publicat vora el 1590 (dinastia<a href="http://en.wikipedia.org/wiki/Ming_Dynasty" target="_blank"> Ming</a>) anònimament, però ha estat atribuït a  <a title="Wu Cheng'en" href="http://en.wikipedia.org/wiki/Wu_Cheng%27en" target="_blank">Wú Chéng'ēn</a>.</p>
<p>La història té un rerefons filosòfic i religiós molt profund, tot i ser una gran historia d'aventures recomano a tothom que vulgui que la llegeixi (unes 1800 pàgines, evidentment encara no me l'he acabat).</p>
<p>La historia us sonarà per el Rei Mico <a href="http://en.wikipedia.org/wiki/Sun_Wukong" target="_blank">Sun Wukong</a> ( <span lang="zh-Hans">孙悟空 -Mico Conscient del Buit) tot i que és el personatge principal la història tracta de com el monge </span><a href="http://en.wikipedia.org/wiki/Xuanzang">Xuánzàng</a> (<span lang="zh">玄奘)</span> peregrina fins a la India en busca de les santes escriptures amb els seus tres deixebles i protectors Sun Wukong, <a href="http://http://en.wikipedia.org/wiki/Zhu_Bajie" target="_blank">Zhu Bajie</a> (豬八戒 - Porc amb Vuit Prohibicions, tot i que també te un nom amb Wu) i <a href="http://en.wikipedia.org/wiki/Sha_Wujing" target="_blank">Sha Wujing</a> (沙悟凈 - Sorra Conscient de la puresa), castigats per crims fa molt de temps i que busquen guanyar-se la redempció, igual que el caball que en realitat és un prindep drac transformat.</p>
<p>Aquesta història ha influit a tota àsia, de manera que són molt comunes les adaptacions en series, dibuixos animats i d'altres. De fet el personatge del Rei mico inspirà clarament a <a href="http://en.wikipedia.org/wiki/Akira_Toriyama" target="_blank">Akira Toriyama</a> per a Son Goku, de fet fins i tot el nom, a més de l'Oolong. Altres referencies importants son la serie chinesa clàssica de fa unes decades, mitjans dels 80.</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/nrzTxGZrV0Q'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/nrzTxGZrV0Q&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p>O la delirant paròdia de Stephen Chow (director i protagonista de KungFu Sion)</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/NFzdJy9fOfA'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/NFzdJy9fOfA&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p>També recomenar una pelicula de dibuixos animats xinesa que narra els primers capitols de la historia, és a dir, com Sun Wukong proboca un gran terrabastall al cel (<a href="http://www.imdb.com/title/tt0059855/" target="_blank">Da Nao Tian</a>g - 大鬧天宮 - 1960's)</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/lXUsvPvLUKw'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/lXUsvPvLUKw&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p>a més d'adaptacións japoneses varies.</p>
<p>Espero que os sigui tant interesant com jo crec.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[TGIF!]]></title>
<link>http://alovehateaffair.wordpress.com/2008/05/30/tgif-2/</link>
<pubDate>Fri, 30 May 2008 01:07:42 +0000</pubDate>
<dc:creator>yvainee</dc:creator>
<guid>http://alovehateaffair.wordpress.com/2008/05/30/tgif-2/</guid>
<description><![CDATA[I&#8217;ve a confession to make.
I&#8217;m having YESTERDAY&#8217;S breakfast now. :\
heh, cause I h]]></description>
<content:encoded><![CDATA[<p>I've a confession to make.<br />
I'm having <strong>YESTERDAY'S</strong> breakfast now. :\<br />
heh, cause I had like two pieces of bread yesterday and I went out for lunch so I couldn't finish my breakfast. HEH HEH.<br />
I hope I don't get a stomach ache or anything manz.</p>
<p>Okay~ TGIF! woohoo! and chillin' with baba later. hohoho. Can't wait.<br />
I can't wait for payday! I want to get a new bag! I swear, I haven't bought a new bag for the longest time okay! My sister bought her <span style="text-decoration:line-through;">damn bloody expensive</span> crumpler already. :\ Heh. Damn not worth it la, I mean, okay it's quite alright. :\</p>
<p>Okay, so, I need to exercise! Like ASAP. Going to like swim, and maybe run. I still want to learn my pilates! Damn. Okay okay, enough about fat ranting.</p>
<p>Yah, so anyways. <a href="http://story-of-shar.livejournal.com">Sha (CK)</a> is so supahhh sahhweeettt! xD<br />
You should read his most recent blog entry. Awhs.<br />
Heartheart sha. (: and all the other branded loves. I miss you guys!<br />
Meet up soon k!! Like real soon, if not we'll become no life geeks! Haha!</p>
<p>Oh yah! Baba's choir concert tomorrow! LOL! Gonna meet the brandeds. &#60;3&#60;3&#60;3<br />
YAYYYY. Great, now I have to pick something to wear. And I hope it's not too rushed and everything cause I still have to go swimming with my sister in the morning/afternoon. Then probably like lunch and then bring her home, change and makeup. ZMG. Sounds rush. LOLLLL.</p>
<p>I've got another like 7.5 more hours? LOLLLL. I don't know how am I going to survive, really.<br />
Did I mention that I want to go shopping?</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Support your local awarts]]></title>
<link>http://benevolentsnark.wordpress.com/?p=33</link>
<pubDate>Fri, 09 May 2008 13:54:40 +0000</pubDate>
<dc:creator>benevolentsnark</dc:creator>
<guid>http://benevolentsnark.wordpress.com/2008/05/09/support-your-local-awarts/</guid>
<description><![CDATA[When I say local, I mean local. The &#8216;Sha has a very cool little artsy gallery scene with occas]]></description>
<content:encoded><![CDATA[<p>When I say local, I mean local. The 'Sha has a very cool little <a href="http://www.redhotartspot.com/galleries.html" target="_blank">artsy gallery scene</a> with occasional <a href="http://www.redhotartspot.com/" target="_blank">Art Crawls</a> and the Friday Night Live events starting in June.</p>
<p>Oh, it's no big, fancy Milwaukee Gallery Night with Dick Bacon exhibits, Beasties and Bronze Fonz haters. But it's fun and refreshingly unpretentious. Those unfamiliar with the 'Sha would be surprised to see the number of galleries right downtown within in a few tiny blocks.</p>
<p>I already spent some of our economic stimulus package on a painting by <a href="http://www.riversendgallery.com/amygallery.htm" target="_blank">this chick</a> and <a href="http://www.riversendgallery.com/petergallery.htm" target="_blank">this dude</a>.</p>
<p><img src="http://www.riversendgallery.com/images/peter/consciouspark.jpg" alt="" width="500" height="256" /><br />
<em>Conscious Park? Aw hell, that's just Frame Park, son.</em></p>
<p>No one said it would be easy to get there, but once you do, it's worth the trip and the free boxed wine. But why the white zinfandel, why? WHY? At least, afterwards, you get to treat yourself to <a href="http://www.divinogelatocafe.com" target="_blank">the best Gelato</a> this side of the subcontinental divide.</p>
<p><a href="http://steamingcupwaukesha.com/default.aspx" target="_blank"><img src="http://www.biztimes.com/nf/uploads/Image/cre08/downtownWaukesha.jpg" alt="" /></a><em><br />
What would a Sha post be without a shout out to The Steaming Cup?<br />
W</em><em>here citzens of Waukesha stalk each other.</em></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Die Geronten]]></title>
<link>http://ikarusvpn.wordpress.com/?p=657</link>
<pubDate>Thu, 17 Apr 2008 00:31:22 +0000</pubDate>
<dc:creator>Ikarusvpn</dc:creator>
<guid>http://ikarusvpn.wordpress.com/2008/04/17/die-geronten/</guid>
<description><![CDATA[
Ich habe nun schon einige Videos bezüglich dieser medienkritischen Interpretationstruppe in meinem]]></description>
<content:encoded><![CDATA[<p><a href="http://ikarusvpn.files.wordpress.com/2008/04/gerontv.jpeg"><img class="alignnone size-full wp-image-745" src="http://ikarusvpn.wordpress.com/files/2008/04/gerontv.jpeg" alt="" width="440" height="399" /></a></p>
<p>Ich habe nun schon einige Videos bezüglich dieser medienkritischen Interpretationstruppe in meinem VodPod-Widget - und ich gebe offen zu: <em>ich liebe es</em> (nein, nicht das Gepampe, was es neuerdings an jeder Ecke zu kaufen gibt; selbst hier in der Provinz)... gute musikalische Persiflagen findet man nunmal nicht oft. Mein heimlicher Favorit: "<em>Heute Wisch Ich</em>", ursprünglich (und recht sinnfrei) von einer Künstlerin namens <em>Sha</em> performt. Doch auch <em>DJ Bobo</em>, <em>Jimi Blue</em> <em>Ochsenknecht</em>, <em>Tokio Hotel</em> oder <em>WIR3</em> bekommen ihr Fett ab - auf recht unterhaltsame Art und Weise.</p>
<p>Gäbe es eine offizielle "Geronten-CD", so würde ich sie wohl kaufen... ganz im Gegensatz zu den lieblosen und unerträglich schwachsinnigen Originalversionen.</p>
<p>Hier der <a href="http://www.youtube.com/user/DieGeronten" target="_blank">Youtube-Link</a> zu ihren bisherigen Machwerken. Ich hoffe, sie nehmen sich auch in Zukunft noch einigen weiteren <em>musikalischen Undingen</em> an... macht ja sonst (fast) keiner - zumindest nicht auf diesem Niveau. Daumen hoch !</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[How the Sha falls ("Farin Ruwa") got their name]]></title>
<link>http://disang.wordpress.com/?p=30</link>
<pubDate>Mon, 24 Mar 2008 10:50:58 +0000</pubDate>
<dc:creator>useibert</dc:creator>
<guid>http://disang.wordpress.com/2008/03/24/farin-ruwa/</guid>
<description><![CDATA[Have you ever seen the Sha falls, which are also called &#8220;Farin Ruwa&#8220;? Located at the sou]]></description>
<content:encoded><![CDATA[<p>Have you ever seen the Sha falls, which are also called "<a href="http://www.nasarawastate.org/pictures/farin/index.htm">Farin Ruwa</a>"? Located at the southwestern escarpment of the Jos Plateau, it is a tourist attraction which some years ago even became a reason for dispute, as <a href="http://news.biafranigeriaworld.com/archive/2003/dec/29/0211.html">reported in a newspaper in 2003</a>:<!--more--></p>
<blockquote><p> The dispute between the Plateau and Nasarawa states over the Sha falls, a tourist attraction, may not be over as Plateau State has described the recent award of the falls to Nasarawa State by the National Boundary Commission as unacceptable. Governor Joshua Dariye told journalists weekend that the decision of the commission was unacceptable as there was no doubt that the people inhabiting the area were Kulere people who are known indigenes of Plateau State. He said Nasarawa State merely capitalized on the neglect of the people of the area by previous Plateau governments by going there to provide some amenities for the people and thereafter, started laying claims to the area, especially the falls which it renamed Farin Ruwa.</p></blockquote>
<p>In the following story, written by Mr. Mafulul Lek in 1992, a speaker of the Daffo dialect of Ron, we learn more about the history of the Sha falls, which are also referred to as  "Munjai falls" -- Munjai being a place in the Wamba LGA  of Nasarawa State.</p>
<p>[audio http://useibert.podspot.de/files/Manggorong+a+Munjai.mp3]</p>
<p><b>Manggorong a Munjai </b></p>
<p>A mbaahan halai kil mama si laal yo Manggorong ma Munjai ha? Yit mai, a but ham ti ɗer ma Yar la taa tambaash ma ramam ma Munjai, maɗor a Wamba, shinggil ti Akwanga. Yit mai Manggorong, mama si laal ti Mawulyang, si nii "Farin Ruwa", ahun "Ham ma Shambaran", ti fo mmican.</p>
<p>Ham tima mu madash taa a fa tambaashi, majik la a ndik, mma a shitai, ɗam ma mayor mai. Si nii, hami ti shambar la syak. Ɗes, a fa madash mama mu madash a fa tambaash ma Manggorongi yish, maɗor, ti dum mashura la fat ham mama mi maɓul. Kil mama ti jik la ti a ndiki, ti ɓulai kpandang ma hum ɗiin mai, mama ti hat tikil, ti ku ti tik a parakat la yo ɗer. Findelash si tof a hai ta Manggorong ma Munjayi fat wa' ham nde ti tof a Tiryau. Hum mama hami ti ɓulai a ndiki, si nii, wur ti hural ti mgbang ti. Gip si nii, kil ma lwa' ma mgbang mai. Masara a nii, kil ma zan mwan ma lantarki ma mgbang mai ɗes.</p>
<p>Naf ma maɗor a ne taa fit, fat Ɗafo, ka Sha, ka Tof, si saa taa Manggorong ma Munjayi mai. Mater ti masaa ti naf ma siw ti mgbang ti. Mater tima ti saa a manggorongi, mawan a Munjai, ti hyau kwa gbum gbum. Shak ta andai, naf kawa, fat Ɗafo, si fwaat hayash la ti a materi, mawan a mbar ma Munjai. Wa' mbar ma hwayan shak, ɗiin si hyawis fat ma Munjayi kwa.</p>
<p>Ɗiin ɗamani, yit mai, Manggorong ma Munjai a munis re wa' ɗam ma wuka ɗiin mai. Wa' naafara mama a saahan taa Manggorong ma Munjai kwa, nafu ti mashir ti. Yo awei ti. Ti mandok ti, naf buu si haarai fo, mma si shitai ngga' mama ham mu shambarat majik la a ndiki ta ti. Nai si niyis, wa' shak naf ma siu mama si saa a materi si waai ti talal ɗiin, ahun canan si lyaaf ti, ɓa lwa' ti Manggorongi ti faris mater, si saa ti cala. Gip ma naf ma siwi si nii, wa' mma safat mai, aa gami, mma a saa taa Manggorong ma Munjai, a tik la cala, a ɗusai safati. Ɗam mama naf buu ndee si walai a mandek a hai nai. Naf mama si kpaa a mater ti Manggorong a Munjayi, si nii kek, si mun ma tyaak a laki kwa.</p>
<p>Wa' nai naf ɓiil mama mi a ndik ma majik la ti Manggorongi si nggash findel ɗiin, si nii, wa' Manggorongi lwa' nzis ti. Wa' sin mi, si cu, ahun mi hai ta cwai naf mama shak si kpaa a Manggorongi! A fa andai, si lef talal tima wa' shak naf ma siw mama mi maɗor ahun maɗu Manggorongi, kpak si talis. Wa' mma si talis, sin mi, si ku si ɗor, ahun si ɗu sis ti. Wa' naaf mama a kwis ka talali, mma a saa a Manggorongi, a kpaa, a wal! Nai wa' si furai ɗes kwaanai naf ma siw a Manggorongi, si hyaak, si harai ɗaam, ka cifi.</p>
<p>Nai Sha si halai andai, si nii, koong, ka ɗeng a faris ɗama ɗiin kwa. Si gaasai, si nii, mi yo ɗigir ma ho'an mi. Si nii, wa' si cwaai lo ma ɗafal, ka ɗeng a tikis a tafonat fo kwa. Ahun wa' naf si yu ti ɓur, si ndek ɗamanashi la gbum - masut ma fwash mai.</p>
<p>Wa' naf mama mi a ndik ma majik la taa Munjayi si fut ka sin Munjai, a hai a yis, ka Masinggar, ka Yiw, ka Mama, ka Marahai, ka Kamtu. Nai wa' nafi si halai andai, si shiɗet rwak-rwak, wa' si lak ɗama ɗiin andai kwa gbum. Si ji ligit, hai ti rami. Si niyis Sha, ɓa si yu a sho ligiti. Ɓa si saa ti a materi, si shitai sutet tima wa' naf miis a tot hai a hai ta Manggorong ma Munjayi. Wa' Sha nai si nii hir, si fwaar maɗor mawan a sho ligit ti a Ne sai.</p>
<p>Taa, fe ma naf si ji ligiti ti ji Sha la ti! Nai Sha si pak la, si jakai a ndik, si harai ligit ti a tutwai. Si sho, si fil, si lang a jik, sin a taraf. Si cu rom, si cu hwer. Si mun a ndur dori, si lul ti dor, si niyis Sha: "Mimai ndiya hu lak-a? Hu nii, ni cwaai naf, naa yo ɗigir mi, ahun mi haang? Nai hu yes a ndek nin la ndai gbum ka masuti, ahun hu yes ami? Ahun hu sho ligit ti manzonet ti, hu ku hu lak findel sai, a Sha?" Si cu a fo, si niyis: "A Sha, hu tik a lak findel sai, ni halai dong!" Kil ti nin wutirish -- Sha si nii mgbi' ti tutok! Si nii: "Ca mawalan. Naf kyani si ji can la ti, ɓa si cu can a wur. Ca kpaa."</p>
<p>Nai sin maɗu Manggorongi ti a filal kil, mma ɓwe ti furet. Si kir ngash-ngash-ngash maɗu. Kambet kyai si nii: "Haang, sin na kong, hu nggarai, si yu." Taa, kwai fe ma naf si walan a wom vwash mmis ti a Manggorong. Nai Sha si lang a rwaakan a hai. Si ɓaak hayash la, si mwaat sololol. A fa filali, gip si dash yishash la ti a fa hayai, wash si shar a ndik.</p>
<p>Tahun ti le' la kong, kambet si shitai Sha a ndik mbolosh, si nii hya' - ɓa hu tyaak! Si tikai ligit nzis hai, si sho, sin a nahwai ti Sha. Si gaasai, si nii, halyang ma ɗaam ma gbwya' ɓiil! Mama si pwet a ra si yes ti shaati a wur, si nii, Sha si mawal. Si lulis, a hai ta mi? Si nii, wa' naf mama si lal sis ti ligit kyai mi, si masirai sis hai, ɓa si cu sis a wur. Nai wa' si nii, mi maɗu manggorong ma Munjayi, taa, nafi si shwan vwash ti a manggorongi. Nai wa' si fut ka filal ti ligiti, si rwaak a hai, si fwaar, si taar, si ɓaak hayash la, si mwaat.</p>
<p>Nai Sha si har pis, si shu. Naf ma mater ma Sha ti a kikyali si nii, wa' ndee si shwai vwash mai ti a manggorongi kek kwa. Wa' ndee si wal a fil la ti ligiti, nai si langai hai, si walai a dashi, si hyaak. Sin nafi, si nii gbum, andai ti kwa! Ɗes, wa' gbum ndee si shwis vwash ɗiin ti a mater kwa. Wa' Sha ndee si fil ti ligit ti kek, nai si furis gam mbayat. Taa tei nai, si nii mgbi' mawis a wur ti tutok. Wa' naf mama si lal sis ti ligiti mi yo ɗigir mi, mi wan a makon a cwai sisi ti fulul. Nai si nii, mi makon a maɗu Manggorongi ti filal, kporok ma fulul, si fwaar, si ɓaak hayash la, si mwaat.</p>
<p>Mayes a kwai hani, Sha si nyaai findel ma mandek nzis sai a manggorong ma Munjayi a ma kwa. Ɗafo mi ɗes, si wu ndurum ti ɗaman ma mandek ti Sha a Manggorong a Munjayi. Mma sin a ndaret a sisal, ahun a gaasai Shahi, si nyaahis: "A sa'! Mma hu nii, hwaa yo halyang mi awei kwa, mimai ndee a kir, hu sho ligit tindai, hu yu a Manggorong a Munjai, hwaa hyaa' gbob-gbu-gbob, hayash si dyaash? Ahun mma naf kyai mi, ndee si wu hun shengat ti kwa, mimai a kir, mayes a kwai, hu mba wer ɗam mama ndee si masuhai sai wet?" Si niyis, wa' nan sin mi, ndee si yu a cwai naf kyai ti ɗigirat, nai ti le'is la a manggorong ma Munjai, si kat ti rihip. A shamgbareng, mma si mun a wan a rwai Sha ti jam, nai si shiɗet, wa' mandek ti Sha a Manggorong ma Munjai. Kwash nai wa' si manis Sha awei, si ndus a tyaakan ti ɗamani tikil, naf si maɗuk a sisali, fifaɗe si manis.</p>
<p>Findel a nii, sin Sha a hai a yis, gipi mi yo nyaas mi si naf mama ndee si lal sis ti ligiti. Wa' mi yo masut ma ɗanggat mi si naf kyai.</p>
<p>Manggorong ma Munjayi a hai a yis kil mai mama sum nzis ti ho, ti yu a nggaas kwa. A kwai hani, naf taa ramam ka Masaraashi si yaas a shitai kili, si tek foto ahun shilimi. Ɗes, amwash ram ma hai ta ɓulai mater ti mutika taa Sha, ɓa ti ɓul la a shinggil tima ndee Sha si yu a sho ligiti. Wa' a fa mandek ti Sha a Manggorongi a kwai si laal sis yo Manggorong ma Sha, si tyaak a nii Manggorong a Munjai kwa.</p>
<p><b>The Sha falls or the fall of Sha?</b></p>
<p>Did you ever hear about the Munjai falls? It is there that the water of the river Yar falls down from the Munjai hills, flowing on to Wamba, in Akwanga L.G.A. This fall is called "Farin Ruwa" in Hausa, which means "White water".</p>
<p>The water falling down from the hills and splashing up at the ground is a great spectacle. It is said to rise in big clouds. The water falling down from the hills is steaming as if it was boiling. After touching the ground, the water enters into a big cave and comes out from another place again as a river. There are many stories told about the Munjai falls, e.g. that the water gathers at Tiryau (a mythical meeting place of all the water). The cave into which the water enters is said to be the house of a mighty water-spirit. Others say that a powerful <i>Lwa'</i> (Alter Ego) resides there. According to the white-men it is also a good place for winning hydro-electric power.</p>
<p>People from Daffo, Sha and Tof, going down to the lowlands have to pass the Munjai falls. It is an important trading route. The road passing the falls on the way to Munjai isn't good at all. Nevertheless many people like the Daffo dare to take it to buy oil at Munjai. The oil of Munjai is said to be the best oil in the whole area.</p>
<p>To men, the Munjai falls are also a way to show their courage. A man how doesn't dare to pass the Munjai falls is said to be a coward. And indeed, it is true. Many a man on reaching the place and seeing the steaming water has turned back in fear. Formerly, all the traders who wanted to pass there used to take along a sacrifice for the Lwa' of the fall to get permission to pass. There is a belief among the traders that if a person is seeking wealth and passes the Munjai falls, he will certainly get it. But many who have taken this way have perished on it. The number of people who have lost their lives is impossible to tell.</p>
<p>The people living beneath the Munjai falls started to claim that it is their second self. That it was them who killed and still kill the people who perish at the falls. The fixed a fee which every trader who wanted to go down or up past the falls had to pay. Only those who paid it were allowed to go down or climb up. Every person who refused to pay the fee would perish on passing the falls. But indeed it was them who would ambush the traders passing the falls, kill them and take away their goods and money.</p>
<p>When the Sha people heard this they said that no-one should pay the fee anymore. They abused the Munjai people, saying that they were great evildoers. They said that the Munjai people ate human flesh and that no-one should have contact with them anymore. That people should fight against them and do away with those bandits.</p>
<p>Then the people living at the bottom of the Munjai falls joined with the Munjai, the Masingar, the Yiw, the Mama, the Marhai and the Kamtu people. They prepared local beer all over their country. They invited the Sha people to a beer drinking party. They should come and see for themselves that those stories about the Munjai falls were not true. The Sha people rushed down to the lowlands for the beer.</p>
<p>However, those people had prepared the beer as a trap for the Sha people. The Sha people came and drank a lot of beer. They got drunk and started dancing and falling about. Their hosts put on their war dresses. Then they started singing a song, asking the Sha people: "So you say we have eaten people, we are devils, or what? Now you have come to do away with us, have you? Or were you drunk when you said that?" The challenged the Sha to repeat what they had earlier said. The Sha people became very afraid and started running away. They said: "These people want to kill us. We are lost!"</p>
<p>They started climbing the hills in their drunken state, when the sun had already set. While climbing, they kept falling. Their hosts shouted: "See them there, let's chase them." They had earlier put a slippery matter on the way. Now the Sha people began to glide on it. They broke their heads and died in great numbers. Due to drunkenness, many fell down on the rocks and their blood was pouring to the ground.</p>
<p>When the sun rose the following day, the hosts saw the Sha people lying dead on the ground and were very contented. They continued with their drinking party and sang a song about their victory over the Sha people. They abused them, calling them stupid and fools. Those few who could escape came to Sha mourning and said: "this is the end of Sha". People asked them why. They told them that the people who had invited them had wanted to kill them in cold blood. That they had wanted to climb the hills, but the people had put a slippery matter. That this combined with their being drunk had made them fall down, break their bones and heads and that many had died.</p>
<p>Then the Sha people put on their mourning shrouds. The Sha spies claimed that those people had not only put the slippery matter on the way. That they had actually made them drunk and then turned on them and beaten them to death. But those people denied the charges. They also denied having put a slippery matter on the path. They claimed that it had been the Sha people who, after getting drunk, had looked for trouble. They had said that they were devils and that they would finish them this very night. But then suddenly they had started to run away. Then, climbing the hills in the middle of the night, being drunk, of course they had fallen down and broken their necks.</p>
<p>Until now, the Sha people haven't forgotten how they perished at the Munjai falls. The Daffo people like to tease the Sha people by reminding them of that story. They use to tell the Sha people: "Hey you, you must have been fools to go to that drinking party and climb the hills being drunk. If those people are not as strong as you, how is it that up to now you haven't taken revenge?" They tell them that perhaps it was them who used to kill people on the way until finally they got punished at the Munjai falls. In a very rude manner, they even swear "by the fall of the Sha people". Then the Sha people become very angry and tell the whole story all over again and people laugh even more.</p>
<p>Allegedly, the Sha themselves are partly related to those people who invited them to the drinking party.They are said to have a common origin.</p>
<p>The Munjai fall is a place that has now become very famous. Nowadays, people like to go there and take pictures. The Federal Government is even planning to build a road from Sha down to the place where they went for the beer. Allegedly, due to the perishing of the Sha at the falls, the falls are now no longer called Munjai falls, but Sha falls.</p>
<p><a href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img src="http://creativecommons.org/images/public/somerights20.png" align="right" height="31" width="88" /></a></p>
]]></content:encoded>
</item>

</channel>
</rss>
