1
$\begingroup$

I understand how hashing and encryption/decryption work at a very high level, where the functions work as a black box. Hashing scrambles the input in a non-uniquely reversible way, whereas encryption uses a key to scramble the input in a reversible way where it's highly unlikely that any other key could produce the same output. Salts can be added to prevent rainbow attacks by randomising the output more.

Over time, collisions are detected in hashing functions, and encryption/decryption functions are cracked, leading to stronger functions being developed usually with more bits.

However, I would be interested in studying low-bit concrete hashing/encryption functions in order to understand how it can be mathematically proven to be uncrackable except by brute force (if that is indeed possible).

Are there any such low-bit functions that can be followed through step by step and analysed mathematically without the maths getting too complex? Ones that would be considered cryptographically secure except for their length?

$\endgroup$
0

1 Answer 1

1
$\begingroup$

Actually, lecturers/professors build simplified version of block ciphers and hash functions so that the students can understand better.

For Block ciphers there are;

For hash functions;

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.