...making Linux just a little more fun!
[nilesh.04 at lnmiit.ac.in]
hello sir,
my password is 100bits long so i put that in a text file now i have to encrypt n decrypt by data with in file.
pls reply me as soon as possible ,hoping positive responds from your side
Kapil Hari Paranjape [kapil at imsc.res.in]
Hello,
On Tue, 05 Jun 2007, nilesh.04@lnmiit.ac.in wrote:
> my password is 100bits long so i put that in a text file now i > have to encrypt n decrypt by data with in file.
This question does not seem to be meaningful.
1. A text file with 100 bits stored in what way? 2. What do you mean by encrypt/decrypt "by data with in file".Perhaps what you mean is that:
a. You stored your password in a file. b. You have data which you want to encrypt and decrypt using the file.This is a standard operation, but how you do it depends on the encryption/decryption operation that you use.
Regards,
Kapil. --
nilesh wadhwani [nilesh.wadhwani at gmail.com]
Hello Sir, i have password in file .ok there is an encryption/ decryption method given by Mr.Ben Okopnik by a Perl script .which i m sending you with this mail and method also
how it work . i have my passwd in file what command i use or what method i use to run it properly reply as soon as possible hoping positive responds from you.
Ben Okopnik [ben at linuxgazette.net]
On Tue, Jun 05, 2007 at 01:32:19PM +0530, nilesh wadhwani wrote:
> Hello Sir, > i have password in file .ok > there is an encryption/ decryption method given by Mr.Ben Okopnik > by a Perl script .which i m sending you with this mail and method > also > how it work . > i have my passwd in file what command i use or what > method i use to run it properly > reply as soon as possible hoping positive responds from you.
Nilesh, if I understand what you're asking, then the solution is simple - although it doesn't have much to do with Perl.
crypt "`cat password_file`" input_fileThis will decrypt 'input_file' by using the contents of 'password_file' as the password.
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
nilesh wadhwani [nilesh.wadhwani at gmail.com]
thank you sir,for your reply