8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I use Debian default encryption disk encryption. Only /boot it's not encrypted. When I boot I need to type my password, and then I will be logged in. But now I can't login. It always says that I typed the wrong password, but I typed the correct password.
I tried to boot in live-CD and try unlock... (3 Replies)
Discussion started by: zognadal
3 Replies
2. AIX
Is there a utility available to make such a backup? Is this idea even possible?
Thanks for the help. (5 Replies)
Discussion started by: rwh2011
5 Replies
3. UNIX for Advanced & Expert Users
Hi Guys,
I wonder I had have a look to the cc compile options but I could be missing one but basically I'm compliling a c program where I will storing a command to connect to a database and also userid and password. The issue is that after the module is generated using a command like strings I... (14 Replies)
Discussion started by: arizah
14 Replies
4. Shell Programming and Scripting
Hi folks,
What will be the easy way to decrypt encrypted passwords on MySQL table. Googling brought me many suggestions on crypt/decrypt running scripts. Please advise. TIA
Remark:
I think the encrypt function of MySQL uses the Unix crypt command to encrypt
B.R.
satimis (1 Reply)
Discussion started by: satimis
1 Replies
5. Shell Programming and Scripting
Can we execute an encrypted shell script .
I encrypted a shell scripts with crypt with keys and tried to execute it it gave me segmentation faul??
Can somebody answer this one please??
If we can is there any settings i need to change??
Thanks (2 Replies)
Discussion started by: ajnabi
2 Replies
6. UNIX for Dummies Questions & Answers
Hi lads me again
trying to get a wee bit fancy with my scripting
anyway it dosn't seem to want to run (strange as it may seem)
I encrypted a file renamed it and wrote another file that unencrypts it
(it contains passwords) (and b4 anyone says I am doing this for my own reasons)
In a... (3 Replies)
Discussion started by: w33man
3 Replies
7. UNIX for Advanced & Expert Users
Hi,
Is there a way of executing encrypted files? I have encrpyted files using vi and crypt, but when I execute the encrypted file, it takes the contents literally (special characters, junk - encrpyted format).
Kind Regards,
Kawah (4 Replies)
Discussion started by: Kawah Cheung
4 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Is there a way of executing encrypted files? I have encrpyted files using vi and crypt, but when I execute the encrypted file, it takes the contents literally (special characters, junk - encrpyted format).
Kind Regards,
Kawah (1 Reply)
Discussion started by: Kawah Cheung
1 Replies
MCRYPT_GENERIC(3) 1 MCRYPT_GENERIC(3)
mcrypt_generic - This function encrypts data
SYNOPSIS
string mcrypt_generic (resource $td, string $data)
DESCRIPTION
This function encrypts data. The data is padded with " " to make sure the length of the data is n * blocksize. This function returns the
encrypted data. Note that the length of the returned string can in fact be longer than the input, due to the padding of the data.
If you want to store the encrypted data in a database make sure to store the entire string as returned by mcrypt_generic, or the string
will not entirely decrypt properly. If your original string is 10 characters long and the block size is 8 (use mcrypt_enc_get_block_size(3)
to determine the blocksize), you would need at least 16 characters in your database field. Note the string returned by mdecrypt_generic(3)
will be 16 characters as well...use rtrim($str, "