01-26-2011
And how was the file encrypted? If it was with the unix "crypt" command, see "man crypt". There are other encryption methods.
What Operating System and version are you running?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
whats the most sufficient way to make decryption software? What are the recoomendations for one? (3 Replies)
Discussion started by: Phatress
3 Replies
2. UNIX for Dummies Questions & Answers
Hello guys !
I have used "crypt <first> second" command to encrypt "first" to "second" file. i have assign a key for that of course.
Now when i try to look content of "seocnd" file through "cat second" command, the file is encrypted and cannot be read which is according to plan.
But when... (3 Replies)
Discussion started by: abidmalik
3 Replies
3. UNIX for Advanced & Expert Users
A client application is encrypting a text using private key and sends through socket.
My application(server written in c/c++,unix) receives the chiper-text through socket.
I have client's digital certificate.
now, how do I decrypt(may be using openssl library) this ciper-text using client's... (1 Reply)
Discussion started by: johnbach
1 Replies
4. Shell Programming and Scripting
Hi,
I don't know if I am in a correct category with my question.
I want to know what decryption-method is used for this password:
(1) The first stadium is (its stored in the settings.xml of my software):... (2 Replies)
Discussion started by: Mogli1977
2 Replies
5. Shell Programming and Scripting
Hi,
Something bizarre is happening while decrypting the files. I had a decrypt script which was working smoothly on
uname -a
Linux ######### 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
After the front-end application was moved to
uname -a
Linux... (2 Replies)
Discussion started by: dips_ag
2 Replies
6. UNIX Desktop Questions & Answers
can some one help me how to decrypt a .txt.cpt file in unix
i
Double post (0 Replies)
Discussion started by: lily
0 Replies
7. Shell Programming and Scripting
Hello Everyone,
How do we run vi/vim encrypted shell script without decryption on multiple servers. It is a simple bash script and vim -nx <filename> has been used to encrypt with desired password. Now I have few errors, the syntax is absolutely fine as I have run that script multiple times on... (0 Replies)
Discussion started by: lovesaikrishna
0 Replies
8. Shell Programming and Scripting
Hello All,
There are so many questions on this and I didn't find any concluded answer.
I want to encrypt a string in the script, actually this is a password. I tried using openssl (I am a newbie to openssl), but it is generating a long one which we can't remember.
I want to encrypt the... (5 Replies)
Discussion started by: karumudi7
5 Replies
9. Shell Programming and Scripting
Hi,
I have an already running Production script that I need to simulate in QA. The script is trying to decrypt some files using the below command:
pgp --decrypt ${GET_DIR}/*.pgp --home-dir /.pgp
I am getting the following error:
1080:no private key could be found for decryption
Can... (3 Replies)
Discussion started by: Jigsaw16
3 Replies
10. HP-UX
I am pulling a file from sfdc to HP-UX servers. But in HP-UX servers, the file data shows encrypted. Can anyone tell me how to decrypt them? The file data is like-
... (1 Reply)
Discussion started by: saga20
1 Replies
crypt(1) General Commands Manual crypt(1)
Name
crypt - encode/decode (available only if the Encryption layered product is installed)
Syntax
crypt key < input.File > output.File
Description
This reference page describes software that is available only if the Encryption layered product is installed.
The command reads from the standard input and writes on the standard output. You must supply a key which selects a particular transforma-
tion. If no password is given, demands a key from the terminal and turns off printing while the key is being typed in. The command
encrypts and decrypts with the same key.
Files encrypted by are compatible with those treated by the ed, ex and vi editors in encryption mode.
The security of encrypted files depends on three factors: the fundamental method must be hard to solve, direct search of the key space must
be infeasible, and sneak paths by which keys or clear text can become visible must be minimized.
The command implements a one-rotor machine designed along the lines of the German Enigma, but with a 256-element rotor. Methods of attack
on such machines are known, but not widely; moreover the amount of work required is likely to be large.
The transformation of a key into the internal settings of the machine is deliberately designed to be expensive, for example, to take a sub-
stantial fraction of a second to compute. However, if keys are restricted to three lowercase letters, then encrypted files can be read by
expending only a substantial fraction of five minutes of machine time.
Since the key you choose is an argument to the command, it is potentially visible to users executing ps(1) or a derivative. To minimize
this possibility, destroys any record of the key immediately upon entry. The most vulnerable aspect of is the choice of keys and key secu-
rity.
Examples
The following examples use KEY as the key to encrypt and decrypt files. The first example encrypts the file naming the resulting encrypted
file The second example decrypts the file naming the resulting decrypted file The third example prints the encrypted file in clear text.
crypt KEY < plain.File > crypt.File
crypt KEY < crypt.File > decrypt.File
crypt KEY < crypt.File | pr
Files
for typed key
See Also
ed(1), ex(1), vi(1), xsend(1), crypt(3), makekey(8)
crypt(1)