05-30-2007
Crypt is only included on North American versions of SCO.
If you are not in NA then download PGP.
If you are in France, don't tell anyone you did this.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've just installed Unix SCO OpenServer System v in an Intel PC and Everithing ok, except just one thing, in the begining of the installation the wizard asked me about the mouse , i have a generic 3 buttons mouse and i took a logitech and did not work
i need to change the mouse configuration, ... (2 Replies)
Discussion started by: jimmyvaldes
2 Replies
2. UNIX for Dummies Questions & Answers
hello!
when i try to make my system dual boot with both win98 & sco open server 5.5 it doesn't work at all.neither win98 take start nor sco open server boots.what should i do ?
kindly help me
thanks (1 Reply)
Discussion started by: buntty
1 Replies
3. UNIX for Advanced & Expert Users
I am doing some work for a customer that is running SCO 5.0.2 openserver and they have lost their cd. Is there anyplace I can download it? I have a replacement being shipped but it will not be here for two days and they are down. Any ideals? (3 Replies)
Discussion started by: SCOoT
3 Replies
4. UNIX for Dummies Questions & Answers
Hi there guys.
I just got this new SCO version and i'm having some problem printing from shell,
This is what i'm typing at the # sign : lp -dHP /etc/hosts and it prints no problem but when i use any other user at the $ sign it gives me this error.
/dev/fd/7: /usr/lib/lp/sysv/7: not found.
... (1 Reply)
Discussion started by: josramon
1 Replies
5. UNIX for Dummies Questions & Answers
Hi guys,
I just got this new 6.0 version and i'm trying to setup a remote office to telnet to this server running sco 6.0, in previous version all i have to do is add this file under /etc/rc2.d call S99route and put the gate in that file and that was it, for some reason in 6.0 it does not... (1 Reply)
Discussion started by: josramon
1 Replies
6. SCO
Dear members
when i installed dual processor patch in openserver 5.0.7 in hp ML370 G4 server it hangs in sco at G_hd_config.
i tried MP4, EFS 5.64,5.70A but not solved the problem.. (0 Replies)
Discussion started by: M_farooqui
0 Replies
7. UNIX for Advanced & Expert Users
My U.S. version of SCO Openserver 5 did not install "crypt". I'm looking into that for encryption, but I also looked into PGP, and openssl. These installations want GNU's GCC installed, but GNU won't support SCO when I have problems installing GCC. GNU is very very much against SCO right now.
Are... (1 Reply)
Discussion started by: coreysan
1 Replies
8. SCO
I need SCO Openserver 4.2. Please, give me distributive of that version SCO:eek: (0 Replies)
Discussion started by: caine
0 Replies
9. UNIX for Dummies Questions & Answers
Can someone help me please.
I have a database that we backup using cpio. Is there an encryption option that I could use when taking this backup.
Thanks in advance for any help. (0 Replies)
Discussion started by: mandarin
0 Replies
10. Shell Programming and Scripting
I was using crypt command to mask and unmask my password in the script in Linux.
But, I don't find crypt on SunOS mymac 5.10 Generic_150400-26 sun4v sparc sun4v
Thus, my script fails.
Is there a generic / more common command tool / script across Linux and Unix (most / all... (9 Replies)
Discussion started by: mohtashims
9 Replies
LEARN ABOUT CENTOS
crypt::des
DES(3) User Contributed Perl Documentation DES(3)
NAME
Crypt::DES - Perl DES encryption module
SYNOPSIS
use Crypt::DES;
DESCRIPTION
The module implements the Crypt::CBC interface, which has the following methods
blocksize =item keysize =item encrypt =item decrypt
FUNCTIONS
blocksize
Returns the size (in bytes) of the block cipher.
keysize
Returns the size (in bytes) of the key. Optimal size is 8 bytes.
new
my $cipher = new Crypt::DES $key;
This creates a new Crypt::DES BlockCipher object, using $key, where $key is a key of "keysize()" bytes.
encrypt
my $cipher = new Crypt::DES $key;
my $ciphertext = $cipher->encrypt($plaintext);
This function encrypts $plaintext and returns the $ciphertext where $plaintext and $ciphertext should be of "blocksize()" bytes.
decrypt
my $cipher = new Crypt::DES $key;
my $plaintext = $cipher->decrypt($ciphertext);
This function decrypts $ciphertext and returns the $plaintext where $plaintext and $ciphertext should be of "blocksize()" bytes.
EXAMPLE
my $key = pack("H16", "0123456789ABCDEF");
my $cipher = new Crypt::DES $key;
my $ciphertext = $cipher->encrypt("plaintex"); # NB - 8 bytes
print unpack("H16", $ciphertext), "
";
NOTES
Do note that DES only uses 8 byte keys and only works on 8 byte data blocks. If you're intending to encrypt larger blocks or entire files,
please use Crypt::CBC in conjunction with this module. See the Crypt::CBC documentation for proper syntax and use.
Also note that the DES algorithm is, by today's standard, weak encryption. Crypt::Blowfish is highly recommended if you're interested in
using strong encryption and a faster algorithm.
SEE ALSO
Crypt::Blowfish Crypt::IDEA
Bruce Schneier, Applied Cryptography, 1995, Second Edition, published by John Wiley & Sons, Inc.
COPYRIGHT
The implementation of the DES algorithm was developed by, and is copyright of, Eric Young (eay@mincom.oz.au). Other parts of the perl
extension and module are copyright of Systemics Ltd ( http://www.systemics.com/ ). Cross-platform work and packaging for single algorithm
distribution is copyright of W3Works, LLC.
MAINTAINER
This single-algorithm package and cross-platform code is maintained by Dave Paris <amused@pobox.com>.
perl v5.16.3 2005-12-08 DES(3)