LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2010, 12:42 AM   #1
ReshmiS
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
encrypt/decrypt from linux console


Hi,
I am presently looking into the crypto driver of Linux, i want to know is there any command from the Linux console that calls the crypto_alg.cia_encrypt , similar to "ifconfig eth0 up" of the network driver which in turn call the divers open.

In other words is there any console command to perform encryption/decryption from the Linux console or is there any other way to perform this from the console.

Thanks,
Chandran
 
Old 02-09-2010, 12:50 AM   #2
Davno
Member
 
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 213

Rep: Reputation: 25
Quote:
Originally Posted by ReshmiS View Post
Hi,
I am presently looking into the crypto driver of Linux, i want to know is there any command from the Linux console that calls the crypto_alg.cia_encrypt , similar to "ifconfig eth0 up" of the network driver which in turn call the divers open.

In other words is there any console command to perform encryption/decryption from the Linux console or is there any other way to perform this from the console.

Thanks,
Chandran
I am not sure exactly what you mean by that, but you might want to look at programs like "mcrypt" and others, they operate from a shell with different options (see there related manpage). I myself use Mcrypt, it is very good for my limited needs (crypting a few files).

Last edited by Davno; 02-09-2010 at 12:51 AM.
 
Old 02-09-2010, 01:00 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
grub-md5-crypt is what I remember i used for boot time crypting of password.

Last edited by your_shadow03; 02-09-2010 at 01:03 AM.
 
Old 02-09-2010, 01:00 AM   #4
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
if i would know what crypto_alg.cia_encrypt is i would say gpg. seems too easy.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypt and decrypt using encrypt(char block[64], int edflag) rockwell_001 Linux - Security 3 08-30-2009 09:16 AM
Encrypt/Decrypt file in Linux , How to ? shipon_97 Linux - Newbie 1 09-05-2007 03:35 AM
How to use kgpg to encrypt and decrypt emails? ginda Linux - Security 6 03-16-2005 09:42 PM
how to encrypt initrd.img and decrypt in vmlinuz. AshesOfTime Programming 1 12-09-2004 03:48 PM
2048-bit encrypt/decrypt help Nappa Slackware 1 11-20-2003 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration