Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Security

    beefish 0.1.1

    Download button

    No screenshots available
    Downloads: 134  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Charles Leifer | More programs
    MIT/X Consortium Lic... / FREE
    September 12th, 2012, 15:49 GMT
    ROOT / Security

     Read user reviews (0)  Refer to a friend  Subscribe

    beefish description

    Easy file encryption using pycrypto

    beefish is a Python module that provides easy file encryption for Python, with the help of pycrypto.

    Installing

    pip install beefish pycrypto

    Alternatively:

    pip install -e git+git://github.com/coleifer/beefish.git#egg=beefish

    Usage

    beefish can be used to encrypt and decrypt file-like objects:

    from beefish import encrypt, decrypt

    # encrypting
    with open('secrets.txt') as fh:
     with open('secrets.enc', 'wb') as out_fh:
     encrypt(fh, out_fh, 'secret p@ssword')

    # decrypting
    with open('secrets.enc') as fh:
     with open('secrets.dec', 'wb') as out_fh:
     decrypt(fh, out_fh, 'secret p@ssword')

    you can use a shortcut if you like:

    # encrypting
    encrypt_file('secrets.txt', 'secrets.enc', 'p@ssword')

    # decrypting
    decrypt_file('secrets.enc', 'secrets.dec', 'p@ssword')

    you can use it from the command-line:

    beefish.py -e secrets.txt secrets.enc
    beefish.py -d secrets.enc secrets.dec



    Product's homepage

    Requirements:

    · Python
    · pycrypto

      


    TAGS:

    file encryption | decrypt files | Python pycrypto | Python | pycrypto | encryption

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM