diff --git a/docs/2023-04-17-keeb.html b/docs/2023-04-17-keeb.html index 710b874..3f6d19c 100644 --- a/docs/2023-04-17-keeb.html +++ b/docs/2023-04-17-keeb.html @@ -380,6 +380,9 @@
~
+ + My notes when reading + Real-World Cryptography +
+Hash function convert from input to digest:
++ MAC aka Message Authentication Code produce from key, + message to authentication tag. +
+ + + + diff --git a/posts/2023-04-17-keeb.md b/posts/2023-04-17-keeb.md index bae1482..bc9cfcf 100644 --- a/posts/2023-04-17-keeb.md +++ b/posts/2023-04-17-keeb.md @@ -106,6 +106,7 @@ Ergo: - [Corne keyboard](https://github.com/foostan/crkbd) - [Lily58](https://github.com/kata0510/Lily58) - [Amano](https://github.com/h40io/Amano) +- [Cut Slope](https://github.com/hazels-garage/cut-slope) ## Switch @@ -206,6 +207,7 @@ Be careful: - [Space Cadet](https://matrixzj.github.io/docs/gmk-keycaps/Space-Cadet-R2/) - [Blue Samurai](https://matrixzj.github.io/docs/gmk-keycaps/Blue-Samurai/) - [Red Samurai](https://matrixzj.github.io/docs/gmk-keycaps/Red-Samurai-R2/) +- [Lavender](https://matrixzj.github.io/docs/gmk-keycaps/Lavender/) ## Thanks diff --git a/posts/2023-08-23-real-world-crypto.md b/posts/2023-08-23-real-world-crypto.md new file mode 100644 index 0000000..95753e2 --- /dev/null +++ b/posts/2023-08-23-real-world-crypto.md @@ -0,0 +1,14 @@ +# Real World Crypto 101 + +My notes when reading +[Real-World Cryptography](https://www.manning.com/books/real-world-cryptography) + +**Hash** function convert from input to digest: + +- Pre-image resistance: Given digest, can not find input +- Second pre-image resistance: Given input, digest, can not find another input + produce same digest. Small change to input make digest big change. +- Collision resistance: Can not find 2 input produce same digest. + +**MAC** aka Message Authentication Code produce from key, message to +authentication tag.