11-24-2011
Errata Corrige
Crypt
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
does anyone know if the output from crypt can include control caracters or only ascii caracters ?
I want to mail a crypt encoded file and i want to know if i have
to uuencode the file first or not .
thx for help (2 Replies)
Discussion started by: Sven28
2 Replies
2. Programming
How to use the crypt function in c++.Itgives error as "Undefined reference to crypt".help me soon plzzzzzzzzz... (1 Reply)
Discussion started by: dhanas
1 Replies
3. UNIX for Advanced & Expert Users
crypt is a command that is used to add more security to files.
now, this crypt command is used on systems (i dont know which) other that Linux RedHat
now, my question is that is there a command in Linux Red Hat similar to the crypt command???
i really want to have the files on my system... (2 Replies)
Discussion started by: TRUEST
2 Replies
4. UNIX for Dummies Questions & Answers
Hi..
I need to decrypt a file in Solaris.
I'm giving command as
crypt decrypt_key filename.locked filename.unlocked
where
decrypt_key is the key key for decrypting the file.
filename.locked is the file thats encrypted and I need to de-crypt
filename.unlocked is the new file that I need
... (1 Reply)
Discussion started by: livetaurean19
1 Replies
5. AIX
Hi,
I will crypt a file, which requires password to open it in HP-UX. Please let me know the equivalent command in AIX 5.
Your co-operation is highly appreciated in this regard!
-Thiagu (1 Reply)
Discussion started by: thiagoo
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I will crypt a file, which requires password to open it in HP-UX. Please let me know the equivalent command in AIX 5.
Your co-operation is highly appreciated in this regard!
-Thiagu (2 Replies)
Discussion started by: thiagoo
2 Replies
7. AIX
Will AIX support crypt command or elase is there any command which is similar to crypt on AIX? (2 Replies)
Discussion started by: kalpana.anuga
2 Replies
8. Shell Programming and Scripting
Hi all,
I want the source code similar to crypt command in unix.
Thanks for the reply (4 Replies)
Discussion started by: ratna
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Completely new to Unix - trying to decrypt a Crypt() password, I'm looking for a DES based software that can run on windows...anyone know of a link / online tool that can help me?
Much appreciated
reppir (0 Replies)
Discussion started by: reppir
0 Replies
10. Red Hat
Hello all,
I'm currently on HP-UX and will be moveing shortly to Red Hat Linux. Is there a crypt or an equivalent utitlity on RHEL?
Thanks (4 Replies)
Discussion started by: luft
4 Replies
LEARN ABOUT DEBIAN
crypt::dsa::keychain
Crypt::DSA::KeyChain(3pm) User Contributed Perl Documentation Crypt::DSA::KeyChain(3pm)
NAME
Crypt::DSA::KeyChain - DSA key generation system
SYNOPSIS
use Crypt::DSA::KeyChain;
my $keychain = Crypt::DSA::KeyChain->new;
my $key = $keychain->generate_params(
Size => 512,
Seed => $seed,
Verbosity => 1,
);
$keychain->generate_keys($key);
DESCRIPTION
Crypt::DSA::KeyChain is a lower-level interface to key generation than the interface in Crypt::DSA (the keygen method). It allows you to
separately generate the p, q, and g key parameters, given an optional starting seed, and a mandatory bit size for p (q and g are 160 bits
each).
You can then call generate_keys to generate the public and private portions of the key.
USAGE
$keychain = Crypt::DSA::KeyChain->new
Constructs a new Crypt::DSA::KeyChain object. At the moment this isn't particularly useful in itself, other than being the object you need
in order to call the other methods.
Returns the new object.
$key = $keychain->generate_params(%arg)
Generates a set of DSA parameters: the p, q, and g values of the key. This involves finding primes, and as such it can be a relatively long
process.
When invoked in scalar context, returns a new Crypt::DSA::Key object.
In list context, returns the new Crypt::DSA::Key object, along with: the value of the internal counter when a suitable prime p was found;
the value of h when g was derived; and the value of the seed (a 20-byte string) when q was found. These values aren't particularly useful
in normal circumstances, but they could be useful.
%arg can contain:
o Size
The size in bits of the p value to generate. The q and g values are always 160 bits each.
This argument is mandatory.
o Seed
A seed with which q generation will begin. If this seed does not lead to a suitable prime, it will be discarded, and a new random seed
chosen in its place, until a suitable prime can be found.
This is entirely optional, and if not provided a random seed will be generated automatically.
o Verbosity
Should be either 0 or 1. A value of 1 will give you a progress meter during p and q generation--this can be useful, since the process
can be relatively long.
The default is 0.
$keychain->generate_keys($key)
Generates the public and private portions of the key $key, a Crypt::DSA::Key object.
AUTHOR & COPYRIGHT
Please see the Crypt::DSA manpage for author, copyright, and license information.
perl v5.12.4 2011-10-05 Crypt::DSA::KeyChain(3pm)