01-24-2008
encrypt my sctipt
Hai ,
is there any encrypt machanishm to protect my script or logic?
10 More Discussions You Might Find Interesting
1. Programming
Hi there,
I need to include a simple encryption function in a C program and I came across this function
void encrypt(char block, int edflag)
whic is defined in #include des_crypt.h. According the man "the block argument to encrypt() is a character array of length 64 containing only the... (1 Reply)
Discussion started by: giggi
1 Replies
2. Shell Programming and Scripting
I need some help.. I would like to make a script that uses the tr utility to "encrypt" a selected file. I need to know how to set up the script so that if i type encrypt(script name) the letter that i want to start the encryption and then the file name, that it starts with the entered letter, and... (1 Reply)
Discussion started by: frankthetank115
1 Replies
3. Shell Programming and Scripting
Dear all,
I want to encrypt my script file so that other persons cannot change or view the script.How to do this ?
Thanks,
Nayanajith. (2 Replies)
Discussion started by: Nayanajith
2 Replies
4. Solaris
dear all
i have xml file on solaris contains password for the databse how can i encrypt the password but the apache can read the password after encrypt it
or if any one have any idea to make no one can read the password except apache (1 Reply)
Discussion started by: murad.jaber
1 Replies
5. Shell Programming and Scripting
Hi,
i need to encrypt and decrypt of a string. pls provide me some syntax or any method available using shell script.
i know one method i.e.,
perl -e 'print pack "H*","message"'
so if perl command doesnt work then what is the other method to encrypt and decrypt.
Thanks in advance. (0 Replies)
Discussion started by: syamkp
0 Replies
6. Shell Programming and Scripting
Hello,
I have a paramter file, In which I store all the user-ids and passwords for the project. So if a user just invokes the paramter file he has access to all the variables, which i have exported in the parmatere file.
Now if a user echo's the variable which stores the databse password.... (1 Reply)
Discussion started by: DSDexter
1 Replies
7. Shell Programming and Scripting
Hi I need to encrypt the below file using the translate command to shift each letter five characters to the end of the character set.
ALPHABETICAL FACTS.
THE FIRST THREE LETTERS ARE ABC.
THE MEDIAN LETTERS ARE MN.
THE LAST THREE LETTERS ARE XYZ.
THE FIRST WORD IN MY DISCTIONARY IS AAL.
THE... (1 Reply)
Discussion started by: drew211
1 Replies
8. 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
9. Shell Programming and Scripting
there are some lines of php code
like a copyright
that i want to encrypt
so people can't search for it and then remove it
how can i encrypt the code so it just looks like numbers and letters and not in readable format?
thanks :) (11 Replies)
Discussion started by: vanessafan99
11 Replies
10. Shell Programming and Scripting
Hi,
I have to encrypt my ash scripts on a distribution of linux with Armv5tejl Buildroot , I tried a lot of solutions but none works .
Someone can help me?
Thanks,
Nicola (7 Replies)
Discussion started by: n.rito
7 Replies
LEARN ABOUT CENTOS
amcrypt
AMCRYPT(8) System Administration Commands AMCRYPT(8)
NAME
amcrypt - reference crypt program for Amanda symmetric data encryption
SYNOPSIS
amcrypt
DESCRIPTION
amcrypt requires aespipe, uuencode and gpg to work. Aespipe is available from : http://loop-aes.sourceforge.net
amcrypt will search for the aespipe program in the following directories: /usr/bin:/usr/local/bin:/sbin:/usr/sbin.
amcrypt calls amaespipe and pass the passphrase through file descriptor 3. The passphrase should be stored in ~amanda/.am_passphrase.
HOW TO CREATE ENCRYPTION KEYS FOR AMCRYPT
1. Create 65 random encryption keys and encrypt those keys using gpg. Reading from /dev/random may take indefinitely long if kernel's
random entropy pool is empty. If that happens, do some other work on some other console (use keyboard, mouse and disks).
head -c 2925 /dev/random | uuencode -m - | head -n 66 | tail -n 65 | gpg --symmetric -a > ~amanda/.gnupg/am_key.gpg
This will ask for a passphrase. Remember this passphrase as you will need it in the next step.
2. Store the passphrase inside the home-directory of the AMANDA-user and protect it with proper permissions:
echo my_secret_passphrase > ~amanda/.am_passphrase
chown amanda:disk ~amanda/.am_passphrase
chmod 700 ~amanda/.am_passphrase
KEY AND PASSPHRASE
amcrypt uses the same key to encrypt and decrypt data.
It is very important to store and protect the key and the passphrase properly. Encrypted backup data can only be recovered with the correct
key and passphrase.
SEE ALSO
amanda(8), amanda.conf(5), aespipe(1), amaespipe(8), gpg(1)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR
Kevin Till <kevin.till@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 AMCRYPT(8)