basic intro hash material

This commit is contained in:
shockrahwow 2019-10-22 10:30:19 -07:00
parent 35a281ab8e
commit d6ded4c8c3

26
312/notes/hash.md Normal file
View File

@ -0,0 +1,26 @@
# Cryptographic Hash Functions
## Random Jargon
_If you made it this far you know what all of this is but we need these terms because "muh academic vernacular"_
* Variable Length Input
* Fixed size output
```python
a = {
'first',
'second',
}
```
Both `first` & `second` as inputs result in distinct references of the same size.
* One-way property
You should **not** be able to use a hash result(i.e. reference) to find an input.
In English: _Only inputs can find outputs, not the other way around._
* Two-way property/ Collision-free Property
**2** identical data inputs will map to the same output