File: passlib.utils.des.rst

package info (click to toggle)
python-passlib 1.7.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,920 kB
  • sloc: python: 23,094; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
====================================================
:mod:`passlib.utils.des` - DES routines [deprecated]
====================================================

.. module:: passlib.utils.des
    :synopsis: routines for performing DES encryption

.. warning::
    This module is deprecated as of Passlib 1.7:
    It has been relocated to :mod:`passlib.crypto.des`;
    and the aliases here will be removed in Passlib 2.0.

This module contains routines for encrypting blocks of data using the DES algorithm.
Note that these functions do not support multi-block operation or decryption,
since they are designed primarily for use in password hash algorithms
(such as :class:`~passlib.hash.des_crypt` and :class:`~passlib.hash.bsdi_crypt`).

.. autofunction:: expand_des_key
.. autofunction:: des_encrypt_block
.. autofunction:: des_encrypt_int_block