Done, thanks!! :D
On Fri 10 Mar 2006 11:54, Dr. Stephen Henson wrote:
> On Fri, Mar 10, 2006, Manuel Arguelles wrote:
> > Nothing :(
> >
> > I just used the 16 character (and more) key but nothing, openssl
> > complains when I pass a -K without a -iv should I use -k instead?
> >
> > so far I can't
On Fri, Mar 10, 2006, Manuel Arguelles wrote:
> Nothing :(
>
> I just used the 16 character (and more) key but nothing, openssl complains
> when I pass a -K without a -iv should I use -k instead?
>
> so far I can't decrypt anything with the cli that was encrypted with the lib,
> is there any
Nothing :(
I just used the 16 character (and more) key but nothing, openssl complains
when I pass a -K without a -iv should I use -k instead?
so far I can't decrypt anything with the cli that was encrypted with the lib,
is there any documentation about that? for rc4 or similar ciphers? (no iv)
On Thu, Mar 09, 2006, Manuel Arguelles wrote:
> you mean like this?
>
> $ openssl enc -d -rc4 -in out.bin -k mysecretkey -nosalt
> ¨Å¥
> óVRCÑÆMðù6o
>
> or maybe using the -K -iv options
>
> key[0]=0xA0; key[1]=0xA1;
> iv[0]=0xB0; iv[1]=0xB1;
> BIO_set_cipher(cipher, EVP_rc4(), key, iv, 1);
>
you mean like this?
$ openssl enc -d -rc4 -in out.bin -k mysecretkey -nosalt
¨Å¥
óVRCÑÆMðù6o
or maybe using the -K -iv options
key[0]=0xA0; key[1]=0xA1;
iv[0]=0xB0; iv[1]=0xB1;
BIO_set_cipher(cipher, EVP_rc4(), key, iv, 1);
can I use
openssl enc -d -rc4 -in out.bin -K A0A1 -iv B0B1
??
On Thu
well yes:
$ cat in.txt
hello
$ openssl enc -e -rc4 -out out.bin -k mysecretkey -in in.txt
$ openssl enc -d -rc4 -in out.bin -k mysecretkey
hello
and the openssl api should be compatible with the binary cli right??
Regards
On Thu 09 Mar 2006 18:05, Kyle Hamilton wrote:
> 'bad magic number' could
On Thu, Mar 09, 2006, Manuel Arguelles wrote:
>
> $ openssl enc -d -rc4 -in out.bin -k mysecretkey
> bad magic number
>
> what I'm I doing wrong? maybe the -k -K -iv options? as BIO_set_cipher as
> well
> maybe?
>
With the default options the 'enc' command uses a salted key derivation
algori
'bad magic number' could actually be an OS error. Has that openssl
binary worked for you before on other commands?
-Kyle H
On 3/9/06, Manuel Arguelles <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> I'm new here, I'm trying to encrypt / decrypt text in a file using the rc4,
> the problem is that I'