Sponsored Content
Special Forums Cybersecurity Is ccrypt AES 256 bit crypto secure enough? Post 302887083 by Neo on Wednesday 5th of February 2014 01:53:42 PM
Old 02-05-2014
True. You are right... those longer keys are not really for symmetric crypto. I will look more into gpg (gpg - OpenPGP encryption and signing tool man page):

Code:
neo@www:~# aptitude search gpg
p   gpgsm                                                    - GNU privacy guard - S/MIME version                                
p   gpgv                                                     - GNU privacy guard - signature verification tool                   
p   kgpg                                                     - graphical front end for GNU Privacy Guard                         
p   libcrypt-gpg-perl                                        - An Object Oriented Interface to GnuPG                             
p   libgpg-error-dev                                         - library for common error values and messages in GnuPG components (
p   libgpg-error0                                            - library for common error values and messages in GnuPG components  
p   libgpgme++2                                              - c++ wrapper library for gpgme                                     
p   libgpgme-ruby                                            - GPGME bindings for the Ruby language                              
p   libgpgme-ruby1.8                                         - GPGME bindings for the Ruby language                              
p   libgpgme-ruby1.9.1                                       - GPGME bindings for the Ruby language                              
p   libgpgme11                                               - GPGME - GnuPG Made Easy                                           
p   libgpgme11-dev                                           - GPGME - GnuPG Made Easy                                           
p   libqgpgme1                                               - library for GpgME++ integration with Qt                           
p   pgpgpg                                                   - Wrapper for using GnuPG in programs designed for PGP              
p   php-crypt-gpg                                            - PHP PEAR module for encrypting and decrypting with GnuPG          
p   python-gpgme                                             - python wrapper for the GPGME library                              
p   python-gpgme-dbg                                         - python wrapper for the GPGME library (debug extension)            
v   python2.6-gpgme                                          -                                                                   
v   python2.6-gpgme                                          -                                                                   
v   python2.6-gpgme-dbg                                      -                                                                   
v   python2.6-gpgme-dbg                                      -                                                                   
v   python2.7-gpgme                                          -                                                                   
v   python2.7-gpgme                                          -                                                                   
v   python2.7-gpgme-dbg                                      -                                                                   
v   python2.7-gpgme-dbg                                      -

Thanks!
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

encrypting file system using AES 256 bit

Experts, I am trying to encrypt my filesystem using the AES 256 bit type of encryption. I am using FreeBSD 5.4 and need to encrypt one of the mounted points. Does anybody have any good idea of how to do it? Is there any documentation about encrypting the disk partition as this method is more... (2 Replies)
Discussion started by: jimmynath
2 Replies

2. Programming

AES encryption

Hi, Any body can please point me to source code for implementing AES encryption in CTR mode i.e RFC 3686 (AES-CTR).I did googling but no good results. (6 Replies)
Discussion started by: Raom
6 Replies

3. Programming

JAVA AES keylength exception

I am developing a JAVA application that must encrypt its data. On my development machine, I can use a 256 bit key with no problem. A test machine throws an exception complaining about an illegal key length. The test machine is using JRE 1.6u21. Does anyone know where I can get a version of the JRE... (1 Reply)
Discussion started by: ilikecows
1 Replies

4. UNIX for Dummies Questions & Answers

Using sed with special characters produced from crypto

Hey there, I'm facing some weird issues with sed when trying to do substitution in a text file with the content of some environment variables. Those variables are used to store crypted (3DES) info with much special characters and that's where the problem starts. I've already tried to use both... (7 Replies)
Discussion started by: Jormun
7 Replies

5. Programming

Publish and Subscribe to AES-256 Encrypted MQTT Messages to Node-RED from PHP Scripts

Various Node-Red crypto modules do not work with PHP, so to send an encrypted message from a PHP script (in this case from a Ubuntu server) to Node-RED we need our own code. After a few hours of searching, testing various libs, more testing and debugging, I got this PHP to Node-RED code... (0 Replies)
Discussion started by: Neo
0 Replies
PYTHON(1)						    BSD General Commands Manual 						 PYTHON(1)

NAME
python, pythonw -- an interpreted, interactive, object-oriented programming language SYNOPSIS
python ... pythonw ... DESCRIPTION
To support multiple versions, the programs named python and pythonw now just select the real version of Python to run, depending on various settings. (As of Python 2.5, python and pythonw are interchangeable; both execute Python in the context of an application bundle, which means they have access to the Graphical User Interface; thus both can, when properly programmed, display windows, dialogs, etc.) The current supported versions are 2.6 and 2.7, with the default being 2.6. Use % man python2.6 % man python2.7 % man pythonw2.6 % man pythonw2.7 to see the man page for a specific version. Without a version specified, % man pydoc and the like, will show the man page for the (unmodified) default version of Python (2.6). To see the man page for a specific version, use, for example, % man pydoc2.7 CHANGING THE DEFAULT PYTHON
Using % defaults write com.apple.versioner.python Version 2.7 will make version 2.7 the user default when running the both the python and pythonw commands (versioner is the internal name of the version- selection software used). To set a system-wide default, replace 'com.apple.versioner.python' with '/Library/Preferences/com.apple.versioner.python' (admin privileges will be required). The environment variable VERSIONER_PYTHON_VERSION can also be used to set the python and pythonw version: % export VERSIONER_PYTHON_VERSION=2.7 # Bourne-like shells or % setenv VERSIONER_PYTHON_VERSION 2.7 # C-like shells % python ... This environment variable takes precedence over the preference file settings. 64-BIT SUPPORT Versions 2.6 and 2.7 support 64-bit execution (which is on by default). Like the version of Python, the python command can select between 32 and 64-bit execution (when both are available). Use: % defaults write com.apple.versioner.python Prefer-32-Bit -bool yes to make 32-bit execution the user default (using '/Library/Preferences/com.apple.versioner.python' will set the system-wide default). The environment variable VERSIONER_PYTHON_PREFER_32_BIT can also be used (has precedence over the preference file): % export VERSIONER_PYTHON_PREFER_32_BIT=yes # Bourne-like shells or % setenv VERSIONER_PYTHON_PREFER_32_BIT yes # C-like shells Again, the preference setting and environmental variable applies to both python and pythonw. USING A SPECIFIC VERSION
Rather than using the python command, one can use a specific version directly. For example, running python2.7 from the command line will run the 2.7 version of Python, independent of what the default version of Python is. One can use a specific version of Python on the #! line of a script, but that may have portability and future compatibility issues. Note that the preference files and environment variable that apply to the python command, do not apply when running a specific version of Python. In particular, running python2.6 will always default to 64-bit execution (unless one uses the arch(1) command to specifically select a 32-bit architecture). SEE ALSO
python2.6(1), python2.7(1), pythonw2.6(1), pythonw2.7(1), arch(1) BSD
Aug 10, 2008 BSD
All times are GMT -4. The time now is 08:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy