From 5b09909099d1ecd862852e0bf587aa065db3a858 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 24 Aug 2023 00:09:04 +0700 Subject: [PATCH] feat: real world crypto --- docs/2023-04-17-keeb.html | 10 ++++ docs/2023-08-23-real-world-crypto.html | 74 ++++++++++++++++++++++++++ posts/2023-04-17-keeb.md | 2 + posts/2023-08-23-real-world-crypto.md | 14 +++++ 4 files changed, 100 insertions(+) create mode 100644 docs/2023-08-23-real-world-crypto.html create mode 100644 posts/2023-08-23-real-world-crypto.md 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 @@
  • Corne keyboard
  • Lily58
  • Amano
  • +
  • + Cut Slope +
  • Red Samurai +
  • + Lavender +
  • + + + + + + haunt98 posts + + + +

    + ~ +

    +

    + Real World Crypto 101 +

    +

    + 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. +

    + +
    + Feel free to ask me via + email or + Mastodon. +
    Source code is available on + GitHub + Codeberg + sourcehut + Treehouse + GitLab +
    + + 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.