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

2012-07-07 Thread Ivanko B
I see You've implemented the digest handler, great thanx ! A wish: convinience trascoding functions for string in-out data as tcustomcryptohandler does with its [de]crypt[text] so that avoid dealing with the heavy tmsefilestream for such small tasks. 2012/7/6, Ivanko B ivankob4m...@gmail.com:

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

2012-07-07 Thread Martin Schreiber
On Saturday 07 July 2012 13:08:38 Ivanko B wrote: I see You've implemented the digest handler, great thanx ! Did you see the chain properties of the handler components (experimental)? Next is a zlib handler. A wish: convinience trascoding functions for string in-out data as

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

2012-07-07 Thread Ivanko B
Next is a zlib handler. And smth capable of multiple files at once and maintaining directory structures ? zlib == BTW,it's buggy in FPC - it hangs in win9x for some reason (in the ROZNITSA, me had to disable backing up data in win-98). I don't think ciphers are often used to

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

2012-07-07 Thread Ivanko B
No. Really, It can be achieved by processing std(in/out) of the TAR archiver provided that one can issue/absorb TStream. 2012/7/7, Martin Schreiber mse00...@gmail.com: On Saturday 07 July 2012 17:10:57 Ivanko B wrote: Next is a zlib handler. And smth capable of

[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:=