Definitionپێناسە
A function that turns any input into a short value of fixed size, called a hash; the same input always gives the same hash. A uses a fast hash function to choose where each is stored. Security uses cryptographic hash functions such as SHA-256, whose hash cannot be turned back into the input; md5() and sha1() are too fast and weak for passwords.
هەر نێوخستەیەک دەگۆڕێت بۆ نرخێکی کورتی قەبارە جێگیر کە پێی دەوترێت هاش؛ هەمان نێوخستە هەمیشە هەمان هاش دەدات. کرداری هاشی خێرا بەکار دەهێنێت بۆ ئەوەی بڕیار بدات هەر لە کوێ هەڵبگیرێت. ئاسایش کرداری هاشی شفرەیی بەکار دەهێنێت، وەک SHA-256، کە هاشەکەی ناگەڕێتەوە بۆ نێوخستەکە؛ md5() و sha1() بۆ تێپەڕەوشە زۆر خێرا و لاوازن.
Exampleنموونە
md5('hello') always gives the same 32-character hash.
md5('hello') هەمیشە هەمان هاشی ٣٢ پیتی دەدات.
<?php
echo md5('hello');
// 5d41402abc4b2a76b9719d911017c592Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
فەنکشنی هاش، هاش فەنکشن، کرداری هاشەکە، کردارەکانی هاش، کردارێکی هاش، کرداری هاشی، کردارێکی هاشی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Follows the course notes' کردار for 'function' (as in «کرداری isset»); فەنکشنی هاش is also common in Kurdish teaching.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Securing Data in PHP and MySQLپاراستنی دراوە لە PHP و MySQL
- Binary Search and Hashingگەڕانی دووانی و هاشکردن
- Encryption, Hashing and Digital Signaturesشفرەکردن، هاشکردن و واژووە دیجیتاڵییەکان
- Strings and string functionsزنجیرەنووسەکان و کردارەکانی زنجیرەنووسە
- Equal, Constant, One-to-One and Onto Functionsنەخشەی یەکسان، نەخشەی نەگۆڕ، نەخشەی یەک بۆ یەک و نەخشەی گشتگر
- Inserting and selecting data with PHPزیادکردن و هەڵبژاردنی زانیاری بە PHP
- Passwords, MFA and Access Controlتێپەڕەوشەکان، MFA و کۆنترۆڵی دەستڕاگەیشتن
- The Internet and the Webئینتەرنێت و وێب
- Tuples, Sets and Dictionariesتاپڵەکان، کۆمەڵەکان و فەرهەنگەکان
- Database Security: Threats and Countermeasuresئاسایشی بنکەدراوە: هەڕەشەکان و ڕێوشوێنەکانی بەرگری
- RAID, Web Security and Data ProtectionRAID، ئاسایشی وێب و پاراستنی دراوە
- Confidentiality, Integrity and Availabilityبەنهێنی مانەوە، دروستی و بەردەستبوون