.. _sphx_glr_api_gallery_wallets_stretching:
Key stretching
--------------
Making every guess at a password cost time and memory, and what happens without it.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/wallets/stretching/images/thumb/sphx_glr_plot_01_pbkdf2_key_stretching_thumb.png
:alt:
:doc:`/api/gallery/wallets/stretching/plot_01_pbkdf2_key_stretching`
.. raw:: html
PBKDF2 key stretching (2000)
.. raw:: html
.. only:: html
.. image:: /api/gallery/wallets/stretching/images/thumb/sphx_glr_plot_02_scrypt_memory_hardness_thumb.png
:alt:
:doc:`/api/gallery/wallets/stretching/plot_02_scrypt_memory_hardness`
.. raw:: html
scrypt and memory-hard key derivation (2009)
.. raw:: html
.. only:: html
.. image:: /api/gallery/wallets/stretching/images/thumb/sphx_glr_plot_03_brain_wallet_drain_thumb.png
:alt:
:doc:`/api/gallery/wallets/stretching/plot_03_brain_wallet_drain`
.. raw:: html
The brain-wallet drain (Vasek et al., 2016)
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/wallets/stretching/plot_01_pbkdf2_key_stretching
/api/gallery/wallets/stretching/plot_02_scrypt_memory_hardness
/api/gallery/wallets/stretching/plot_03_brain_wallet_drain