Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread IvankoB
How to decode BASE64 ? Me have cypher not found at : cbase64,crh: tsymciphercryptohandler; [...] crh:= tsymciphercryptohandler.create(nil); crh.ciphername:= 'aes-256-cbc'; // default digest is MD5 cbase64:= tsymciphercryptohandler.create(nil); cbase64.ciphername:= 'base64'; crh.key:= passw; s3:=

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread Ivanko B
How to decode BASE64 ? Me have cypher not found at : cbase64,crh: tsymciphercryptohandler; [...] crh:= tsymciphercryptohandler.create(nil); crh.ciphername:= 'aes-256-cbc'; // default digest is MD5 cbase64:= tsymciphercryptohandler.create(nil); cbase64.ciphername:= 'base64'; crh.key:= passw; s3:=

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread IvankoB
How to decode BASE64 ? Me have cypher not found at : cbase64,crh: tsymciphercryptohandler; [...] crh:= tsymciphercryptohandler.create(nil); crh.ciphername:= 'aes-256-cbc'; // default digest is MD5 cbase64:= tsymciphercryptohandler.create(nil); cbase64.ciphername:= 'base64'; crh.key:= passw; s3:=

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread Ivanko B
Oops, BASE64 shoud be implemented as on option (escaping from BIN to TEXT) of encoder (BASEing before asking password) not a sepatare pass (after asking). Anyway, here are both (Enc/Dec)oders for BASE64: == procedure Base64Decode(const s:string; const ostream:tstream; const

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread Martin Schreiber
On Monday 02 July 2012 16:31:09 IvankoB wrote: How to decode BASE64 ? Me have cypher not found at : cbase64,crh: tsymciphercryptohandler; [...] crh:= tsymciphercryptohandler.create(nil); crh.ciphername:= 'aes-256-cbc'; // default digest is MD5 cbase64:= tsymciphercryptohandler.create(nil);

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread Ivanko B
You propably need to compare a hash value of the original data with the decrypted data. Are there related error codes ? const maxlinelength: integer = 0): string; function decodebase64(const atext: string): string; lib/common/kernel/mseformatstr.pas = Are they

Re: [MSEide-MSEgui-talk] How to AES/DES crypt/decrypt string variables with the MSEgui OpenSSL facilities ?

2012-07-02 Thread Martin Schreiber
On Monday 02 July 2012 18:23:39 Ivanko B wrote: You propably need to compare a hash value of the original data with the decrypted data. Are there related error codes ? The hash must be in your data record. openssl checks padding errors only. const maxlinelength: integer =

Re: [MSEide-MSEgui-talk] MSEide: incorrect dialog title

2012-07-02 Thread Martin Schreiber
On Monday 02 July 2012 18:01:18 Graeme Geldenhuys wrote: Hi Martin, In the MSEide ide setup, where you define the location of the Syntax Definition files. When you click on the ... button to select the directory, that dialog has the incorrect title. It refers to the Template Directory and