[MSEide-MSEgui-talk] Is it possible to produce SHA256 digest with MSEgui ?

2012-07-06 Thread IvankoB
Like echo qwerty -n | sha256sum | awk '{print $1}' or echo -n qwerty | openssl dgst -sha256 do. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape

Re: [MSEide-MSEgui-talk] Is it possible to produce SHA256 digest with MSEgui ?

2012-07-06 Thread IvankoB
Like echo qwerty -n | sha256sum | awk '{print $1}' or echo -n qwerty | openssl dgst -sha256 do. Not yet. Use the EVP_Digest*() functions. From the OPENSL docs: //- New applications should use the SHA2 digest algorithms such as SHA256. The other digest algorithms

Re: [MSEide-MSEgui-talk] Is it possible to produce SHA256 digest with MSEgui ?

2012-07-06 Thread Ivanko B
Opps, some bugs to fix : //- function ptr2digest(const adigestname: ansistring; const adata: pointer; const asize: cardinal):ansistring; var ctx:pEVP_MD_CTX; digest: pEVP_MD; md_len: integer; begin md_len:= 0; ctx:= pointer(EVP_MD_CTX_create); digest:=