Re: 3DES encryption

From: Robert Lawhead (news0000.5.unixguru_at_spamgourmet.com)
Date: 06/29/05


Date: Wed, 29 Jun 2005 13:50:48 -0700

Vahid Moghaddasi wrote:
> Hi all,
> We are requires to use 3des encryption for functions that we used to
> use crypt in the past.
> I was wondering if it is possible to do the following in 3des:
> crypt ftpkey <clear.file> encrypted.file
>
> Thanks,
> Vahid.
>
At least on Solaris 10...

% encrypt -l
Algorithm Keysize: Min Max (bits)
------------------------------------------
aes 128 256
arcfour 8 2048
des 64 64
3des 192 192

% echo foo | encrypt -a 3des | od -x
Enter key:
0000000 0000 0100 0000 e803 3e9c a803 03a2 85d6
0000020 8c0e cd37 c430 ffdb caf9 0e50 1b59 dd09
0000040 df20 c105 2b43 7f9d
0000050

man encrypt



Relevant Pages

  • Re: PDF Encryption : AES or RC4?
    ... Encrypt entry in the document's trailer dictionary. ... until you get to the Crypt Filter dictionary. ... The CFM key in the Crypt ... Indeed the CFM key tells which algorithm was used. ...
    (comp.text.pdf)
  • Re: Crypt datatype and datatype size
    ... Raj wrote: ... > I am using crypt on PHP to encrypt a word and am in the process of ... > setting up the mysql databse to store the encypted word. ... how much data will be encrypted by crypt? ...
    (comp.lang.php)
  • Re: Program using crypt()
    ... E> I have made an application which lets the user select the key and the salt for ... The encryption function in cryptis a "one-way cypher". ... This means you can encrypt, but you can't decrypt. ...
    (comp.os.linux.misc)
  • crypt length
    ... does anyone know if the crypt() function in PHP will always ... return a 34 character string if not salted? ... I want to encrypt my user's ...
    (comp.lang.php)
  • Re: [Full-Disclosure] Q: Linux Command Line Encryption
    ... Do a "man crypt" to see the options. ... should be included with any distribution of Linux. ... >>I need a Linux utility which I can use to encrypt a single gzipped file ... >>something quick and dirty with a single secret key for encryption and ...
    (Full-Disclosure)