Re: [Mono-list] c# with c

2005-09-29 Thread Gonzalo Paniagua Javier
On Thu, 2005-09-29 at 22:33 +0200, Pierro wrote: > hello,. Congratulation for Mono. > > I want to use the hash function of openssl with my code in mono. Mono has a fully managed implementation for that. See the class SHA1 and related in corlib System.Security.Cryptography namespace. -Gonzalo _

[Mono-list] c# with c

2005-09-29 Thread Pierro
hello,. Congratulation for Mono. I want to use the hash function of openssl with my code in mono. The file .h in C is : #define SHA_BLOCK16 typedef struct SHAstate_st { unsigned long h0,h1,h2,h3,h4; unsigned long Nl,Nh; unsigned long data[SHA_LBLOCK]; int num; } SHA_CTX; void