09-17-2004
decrypt function in unix?
Hai Friends
We have a function called char * crypt(const char *ps, const char* key) to encrypt the password in the unix environment.. Do we have any decrypt function to decrypt it? If not then how can we verify the password through program?
Thanks in Advance
Collins
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to encrypt a file in UNIX(HP-UX) and Transfer to a FTP server. Our FTP server is Windows NT. SO, how can i decrypt the file which is encrypted in UNIX, in Windows NT.
Please, help me this is urgent.
Siva Gorantla:confused: (3 Replies)
Discussion started by: gorantla
3 Replies
2. Shell Programming and Scripting
how do i encrypt and decrypt a password (2 Replies)
Discussion started by: sanwish
2 Replies
3. Shell Programming and Scripting
Hello all
I am getting a encrypted file (.pgp) and a key which i have to use to decrypt that file. I couldn't understand where to put the key on my unix box so that decryption happens. Please reply. (2 Replies)
Discussion started by: vasuarjula
2 Replies
4. UNIX for Dummies Questions & Answers
Hello Dear Sir
I am new on this forum, i need to decrypt this code
... (8 Replies)
Discussion started by: dhakavoice
8 Replies
5. Shell Programming and Scripting
Hi, I want to encrypt and decrypt a string(database password) which will be used in my scripts.
encrypt the string while storing in a file and while using it in other scripts
it should decrypt.
i tried below method. As it can decrypt easily, it is not recommended.
encrypt=`perl -e 'print unpack... (5 Replies)
Discussion started by: rohan10k
5 Replies
6. Solaris
Hi Folks,
Currently restoring some data that has been encrypted using the naitive Solaris encrypt/decrypt commands. Taking ages, anyone used these before and are they usually really slow?
Thanks
Rgrds
Martin (3 Replies)
Discussion started by: callmebob
3 Replies
7. Shell Programming and Scripting
I have script for all oracle prod db. I have hard coded the username / password. I need a mechanism to encode and decode the username / password in a shell script.
Another challenge is I use the username and password in a Select command for oracle DB. How can call the decrypted... (2 Replies)
Discussion started by: ilugopal
2 Replies
8. UNIX for Dummies Questions & Answers
How to decrypt a file in unix? I dont know the type of decryption nor the type of text data it contains. We extracted the file from sfdc & need to process it in unix. When extracted, we get encrypted data in the file. The file content is-
... (0 Replies)
Discussion started by: saga20
0 Replies
9. UNIX for Advanced & Expert Users
I have a file which contains encrypted data. Can anyone tell me how to decrypt the file? (14 Replies)
Discussion started by: saga20
14 Replies
10. UNIX for Dummies Questions & Answers
Hello everybody, i have a big issue, i have to decode a big text in base64 a lot of times but there are 2 problems: i am a noob with unix system and shell, and i have problems with openssl and i can't decode anything. can anyone decode for me that base64? need a powerful computer, i can give some... (16 Replies)
Discussion started by: supermarco2020
16 Replies
LEARN ABOUT DEBIAN
shishi_3des
shishi_3des(3) shishi shishi_3des(3)
NAME
shishi_3des - API function
SYNOPSIS
#include <shishi.h>
int shishi_3des(Shishi * handle, int decryptp, const char key[8], const char iv[8], char * ivout[8], const char * in, size_t inlen, char **
out);
ARGUMENTS
Shishi * handle
shishi handle as allocated by shishi_init().
int decryptp
0 to indicate encryption, non-0 to indicate decryption.
const char key[8]
const char iv[8]
char * ivout[8]
const char * in
input character array of data to encrypt/decrypt.
size_t inlen
length of input character array of data to encrypt/decrypt.
char ** out newly allocated character array with encrypted/decrypted data.
DESCRIPTION
Encrypt or decrypt data (depending on decryptp) using 3DES in CBC mode. The out buffer must be deallocated by the caller.
RETURN VALUE
Returns SHISHI_OK iff successful.
REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>.
COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site,
the command
info shishi
should give you access to the complete manual.
shishi 1.0.1 shishi_3des(3)