crypto.py
branchstable
changeset 7879 9aae456abab5
parent 5424 8ecbcbff9777
child 10602 4845012cfc8e
equal deleted inserted replaced
7874:be04706eacc9 7879:9aae456abab5
     1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    13 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
    14 # details.
    14 # details.
    15 #
    15 #
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """Simple cryptographic routines, based on python-crypto.
    18 """Simple cryptographic routines, based on python-crypto."""
    19 
       
    20 """
       
    21 __docformat__ = "restructuredtext en"
    19 __docformat__ = "restructuredtext en"
    22 
    20 
    23 from pickle import dumps, loads
    21 from pickle import dumps, loads
    24 from base64 import b64encode, b64decode
    22 from base64 import b64encode, b64decode
    25 
    23