Hash Function

Creator
Creator
Seonglae Cho
Created
Created
2020 Jun 21 6:31
Editor
Edited
Edited
2024 Apr 23 9:29

작은 범위의 정의역을 만들어주는 함수

보안을 위해 md5나 sha1을 쓰면 안되고, 속도를 위해서도 BLAKE나 murmurhash xxhash가 더 빠르다

Cryptographic Requirements

1. Pre-image resistance (One-wayness)

Given a hash hh it should be difficult to find mm

2. Second pre-image resistance (Weak collision resistance)

Given input m1m_1 it should be difficult to find m2m_2

3. (Strong) Collision resistance

It should be difficult to find two messages such that having same hash
Hash Functions
notion image
notion image
Hash Function Notion
 
 
 
 

Speed test

 
 

Recommendations