Challenges
What is a hash function
Cryptography
Easy
Concept of hash
Solves: 28
What is a hash function
Author: CyberSamSU
Points
12
A hash function converts data of arbitrary length into a value of a strictly fixed length. For example, SHA-256 always outputs 256 bits (64 hex characters) — whether the input is 1 byte or 1 gigabyte.
The main properties of a cryptographic hash function:
| Property | Meaning |
|---|---|
Deterministik | bir xil kirish -> har doim bir xil xesh |
Bir tomonlama | xeshdan kirishni tiklab bo'lmaydi (preimage) |
Avalanche | kirish 1 bit o'zgarsa, xesh butunlay o'zgaradi |
To'qnashuvga chidamli | bir xil xeshli 2 ta kirish topish qiyin |
For practice, calculate the SHA-256 hash of the following text:
cybersamsu_ctf_2026
Take the first 12 characters of the result (hex) and assemble the flag: BAYROQ{H4SH_intro_<12_hex_belgi>}
Theory: learn the topic
To submit a flag, log in.