Thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick Guio
Sent: Tuesday, November 01, 2005 9:51 AM
To: Adam Jones
Cc: openssl-users@openssl.org
Subject: RE: base64 encode/decode
On Tue, 1 Nov 2005, Adam Jones wrote:
> I had the same prob
I had the same problem. It took me a few days to figure it all out. Here is
my sample code that works. Let me know if you have any questions. Hope this
helps.
void main()
{
BIO *bmem, *b64, *bmem2, *b642;
BUF_MEM *bptr;
char inbuff[21];
char outbuff[12];
cha
I am trying to
decode a base64 encoded string. There appears to be something wrong. The read
tells me that I have read 21 which is correct, but my output buffer has nothing
in it. Any suggestions on what is wrong with the code. Thanks in
Advance!
int
main
{
char
*sBase64[21] // this
Thank you! It finally works...It appears you have to flush the BIO
before you get a pointer to it (as shown in your code below. Thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rich Salz
Sent: Monday, October 17, 2005 12:41 PM
To: Adam Jones
if you need to use a mem BIO
just change out the call to what you had, but you'll need to get pointers to
the data to display it (or whatever).
On Oct 13, 2005, at 1:55 PM, Adam Jones wrote:
> Visual C++ did not complain nor did it error out when it ran, but you
> are correct it d
r
lengthy discussion on BIO's in general.
Also "BIO_get_mem_ptr()" gives you a pointer to BUF_MEM structure, not a
char*. Your compiler should have yelled at you for that.
On Oct 13, 2005, at 12:41 PM, Adam Jones wrote:
> Below is the code I am using to try and test the base64 en
Below is the code I
am using to try and test the base64 encode in openssl. I am using rand to
generate a binary and then encoding that to base64. Instead of using a file, I
want to use memory to output the base64 encoded buffer. This code compiles and
runs, but my output buffer is all 0. An
Thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nils Larsch
Sent: Wednesday, October 12, 2005 2:38 PM
To: openssl-users@openssl.org
Subject: Re: EVP_EcryptInit() obsolete?
On Wed, Oct 12, 2005, Adam Jones wrote:
> I have been told t
I have been told
that EVP_EcryptInit() is obsolete and EVP_EncryptInit_ex() should be used instead. Can anyone confirm
that?
will encode the file and output the data to "hello.b64". Check the man
pages for the "enc" command to find all sort of other options and encodings
that are available. Using the "-d" option, the "enc" command will also
decode.
On Oct 11, 2005, a
.b64". Check the man
pages for the "enc" command to find all sort of other options and encodings that
are available. Using the "-d" option, the "enc" command will also decode.
On Oct 11, 2005, at 9:42 AM, Adam Jones wrote:
I have two 128 bit
keys generated
I have two 128
bit keys generated by openssl rand. Does openssl provide a way to BASE64
encode those keys?
line
Try not to use that common indiscriminately as it will deplete valuable
entropy from your system.
-Joe
On Oct 10, 2005, at 1:58 PM, Adam Jones wrote:
> Thanks!
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kent Yoder
indiscriminately as it will deplete valuable
entropy from your system.
-Joe
On Oct 10, 2005, at 1:58 PM, Adam Jones wrote:
> Thanks!
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kent Yoder
> Sent: Monday, October 10, 2005 3:49 PM
&
Thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kent Yoder
Sent: Monday, October 10, 2005 3:49 PM
To: openssl-users@openssl.org
Subject: Re: Generating AES Keys using command line
openssl rand 16 > aes128.key
On 10/10/05, Adam Jones <
Does anyone know how
to generate AES 128, 192, 0r 256 keys using the openssl command
line.
reading it back, the unique characters are interpreted
incorrectly.
T
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adam Jones
Sent: Tuesday, September 27, 2005 5:09 PM
To: openssl-users@openssl.org
Subject: RE: printing encrypted strings
What type of encry
What type of encryption are you using? And what function are you using to
print it out. I have used cout and it works fine with that.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sheehan, Tim
Sent: Tuesday, September 27, 2005 3:46 PM
To: 'openssl-users
I can't compile and
link openssl version .0.9.7g for VC++ 6.0
This is the error I
am getting :
Linking...libeay32.def : error LNK2001: unresolved
external symbol PROXY_CERT_INFO_EXTENSION_freelibeay32.def : error LNK2001:
unresolved external symbol PROXY_CERT_INFO_EXTENSION_itlibeay32.d
19 matches
Mail list logo