AES 128 encrypt problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

AES 128 encrypt problem

MOTOOKA, Daisuke
everyone,

I installed openssl openssl 0.9.8a on my Redhat Linux 7.3.
I want encrypt a file with AES 256.
in the command line below
>openssl enc -e -aes-256-cbc -in plain.txt -out crypted
but, just got message 'unknown option -aes-256-cbc'

can anyone tell me how to encrypt with AES 256 bit from command line?

thanks.
MOTOOKA


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: AES 128 encrypt problem

Bernhard Fröhlich-2
MOTOOKA, Daisuke wrote:

> everyone,
> I installed openssl openssl 0.9.8a on my Redhat Linux 7.3.
> I want encrypt a file with AES 256.
> in the command line below
>
>> openssl enc -e -aes-256-cbc -in plain.txt -out crypted
>
> but, just got message 'unknown option -aes-256-cbc'

This works fine with my version of OpenSSL. Maybe your version was not
compiled with AES-support? What's the output of the "openssl ciphers"
command? What ciphers are listed in the usage message ("openssl enc help")?

Hope it helps.
Ted
;)

--
PGP Public Key Information
Download complete Key from http://www.convey.de/ted/tedkey_convey.asc
Key fingerprint = 31B0 E029 BCF9 6605 DAC1  B2E1 0CC8 70F4 7AFB 8D26


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: AES 128 encrypt problem

MOTOOKA, Daisuke
Ted,

oops! you are right. i made such a silly mistake.
by default, Redhat Linux 7.3 installs openssl-0.6.3c.
and i didn't delete it.
now i delete old openssl and install new one again.
it works.
Thank you very much.

MOTOOKA

----- Original Message -----
From: "Bernhard Froehlich" <[hidden email]>
To: <[hidden email]>
Sent: Monday, January 16, 2006 4:36 PM
Subject: Re: AES 128 encrypt problem


> MOTOOKA, Daisuke wrote:
>
>> everyone,
>> I installed openssl openssl 0.9.8a on my Redhat Linux 7.3.
>> I want encrypt a file with AES 256.
>> in the command line below
>>
>>> openssl enc -e -aes-256-cbc -in plain.txt -out crypted
>>
>> but, just got message 'unknown option -aes-256-cbc'
>
> This works fine with my version of OpenSSL. Maybe your version was not
> compiled with AES-support? What's the output of the "openssl ciphers"
> command? What ciphers are listed in the usage message ("openssl enc
> help")?
>
> Hope it helps.
> Ted
> ;)
>
> --
> PGP Public Key Information
> Download complete Key from http://www.convey.de/ted/tedkey_convey.asc
> Key fingerprint = 31B0 E029 BCF9 6605 DAC1  B2E1 0CC8 70F4 7AFB 8D26
>
>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]