Giter Site home page Giter Site logo

crypto-kdf's Introduction

Key Derivation Function

Cryptography project [AGH UST] Contains notebook about key derivation functions and simple implementation of KDF.

Content

  1. Wstęp teoretyczny. Czym jest KDF?
  2. Od podstaw do czegoś skomplikowanego.
    1. SHA oraz salt. Funkcje haszujące.
    2. Dobra funkcja KDF? Co powinna zapewniać (Memory-Hardness).
    3. Scrypt omówienie.
    4. Atak kanałem bocznym w scrypt (Side Channel Attack) oraz Resistance to Cache Attacks. https://crypto.stanford.edu/cs359c/17sp/projects/MarkAnderson.pdf
    5. Yescrypt bazujący na scrypt.
  3. Ciekawostka Balloon Hashing.

Directory layout

.
├── src
│   ├── salsa20.py
│   └── main.py
├── tests
│   ├── test_implementation.py
│   └── README.md
├── .gitignore
├── kdf.ipynb
├── README.md
└── requirements.txt

Usage

    $> cd /directory/with/this/program
    $> jupyter notebook

Credits and used links for inspirations

  1. Funkcje wyprowadzania klucza (KDF) wykorzystujące odwzorowanie logistyczne - Grzegorz Frejek
  2. https://qvault.io/cryptography/key-derivation-functions/
  3. https://cryptobook.nakov.com/mac-and-key-derivation/hmac-and-key-derivation
  4. https://cryptography.io/en/latest/hazmat/primitives/key-derivation-functions/
  5. https://en.wikipedia.org/wiki/Block_cipher
  6. https://en.wikipedia.org/wiki/Key_stretching
  7. https://docs.python.org/3/library/hmac.html
  8. https://en.wikipedia.org/wiki/Avalanche_effect
  9. https://crypto.stanford.edu/cs359c/17sp/projects/MarkAnderson.pdf
  10. https://www.openwall.com/yescrypt/
  11. https://www.tarsnap.com/scrypt.html
  12. https://datatracker.ietf.org/doc/html/rfc7914
  13. https://qvault.io/cryptography/very-basic-intro-to-the-scrypt-hash/
  14. https://courses.csail.mit.edu/6.857/2016/files/salsa20.py
  15. https://github.com/Daeinar/salsa20
  16. https://en.wikipedia.org/wiki/Balloon_hashing
  17. http://www.tarsnap.com/scrypt/scrypt.pdf
  18. https://eprint.iacr.org/2016/027.pdf

Annotations

  1. Annotations

crypto-kdf's People

Contributors

kollbii avatar littlebigkiller avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.