Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8632

Re: AES256-ICM

From Franz Rachbauer <office@rachbauer.org>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: AES256-ICM
Date 2015-11-10 09:21 +0100
Organization Aioe.org NNTP Server
Message-ID <n1s9f0$a4k$1@speranza.aioe.org> (permalink)
References <n0t9r2$us3$1@speranza.aioe.org> <n0ub0t$l0s$1@news.albasani.net> <n17avt$914$1@speranza.aioe.org> <n18f9i$vbs$1@dont-email.me>

Show all headers | View raw


Hi Carlos,
thank you for informations! Do you know which params I have to use for 
Init(), AESEncrypt() and AESDecrypt?

hLib := LoadLibrary( PSZ(_CAST,"vbRichClient5.DLL" ) )
ocCrypt := cCrypt{
	ObjID,			// What is ObjID?
	fROTCHECK		// What is fROTCHECK?
		 }
cEnc := ocCrypt:AESEncrypt(
	B,			// array of byte => string
	KeyStringOrByteArray,	// ref usual => key
	AESStrength,		// usertype (long) => 256
	InitVector16,		// usual => What is this?
	KeyHashingSHA256	// logic => What is this?
			  }

cDecr:= ocCrypt:AESDecrypt(
	B,			// => cEnc
	KeyStringOrByteArray,
	AESStrength,
	InitVector16,
	KeyHashingSHA256
			  }

Franz

Am 02.11.2015 um 21:00 schrieb Carlos Rocha:
> Franz Rachbauer wrote :
>> Hi Carlos,
>> do you mean the AESEncrypt and AESDecrypt Methods in vbRichClient5?
>> Can you tell me how to integrate these dll into my VO app, can I find
>> an example to integrate a VB6 dll somewhere?
>>
> It might be AESEncrypt/AESDecrypt, but there are also other methods that
> seem related, and a few DiffieHellman properties. I'm not an expert in
> the matter.
> A VB6 dll is an ActiveX dll. You can generate VO wrappers using
> "Tools/Atomation Server..." in the IDE.
> With your project selected, create a new empty library with right click
> (New application/Basic/Empty Library) and select the new create library.
> As a start just select cCrypt in the rigth listbox, check "Include
> containing objects" and "Remove Underscores", and click in the button
> "Generate source". If you want to generate code for every class in
> vbRichClient5 select cFactory instead of cCrypt. There are lots of
> useful stuff in the library.
>
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-10-29 15:18 +0100
  Re: AES256-ICM "Willie Moore" <williem@wmconsulting.com> - 2015-10-29 09:46 -0500
  Re: AES256-ICM Carlos Rocha <JDOTCarlosDOTRochaDOT1@SpiedBy.gmail.com> - 2015-10-29 15:45 +0000
  Re: AES256-ICM Carlos Rocha <JDOTCarlosDOTRochaDOT1@SpiedBy.gmail.com> - 2015-10-29 23:44 +0000
    Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-11-02 10:38 +0100
      Re: AES256-ICM Carlos Rocha <JDOTCarlosDOTRochaDOT1@SpiedBy.gmail.com> - 2015-11-02 20:00 +0000
        Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-11-10 09:21 +0100
  Re: AES256-ICM sherlocksoftware@gmail.com - 2015-10-30 17:19 -0700
    Re: AES256-ICM Carlos Rocha <JDOTCarlosDOTRochaDOT1@SpiedBy.gmail.com> - 2015-10-31 01:43 +0000
    Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-11-02 10:35 +0100
      Re: AES256-ICM sherlocksoftware@gmail.com - 2015-11-02 03:46 -0800
        Re: AES256-ICM sherlocksoftware@gmail.com - 2015-11-02 05:32 -0800
        Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-11-02 15:13 +0100
          Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2015-11-03 03:54 -0800
            Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-11-03 14:14 +0100
              Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2015-11-03 05:35 -0800
  Re: AES256-ICM "Jean Raymond" <jean_ray67@hotmail.com> - 2015-10-31 23:29 -0400
  Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2015-11-04 17:24 -0800
    Re: AES256-ICM "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-11-05 08:22 +0100
      Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2015-11-05 14:49 -0800
      Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-11-10 07:47 +0100
        Re: AES256-ICM "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-11-10 10:58 +0100
    Re: AES256-ICM "Willie Moore" <williem@wmconsulting.com> - 2015-11-05 06:58 -0600
  Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2015-11-04 19:47 -0800
    Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-11-10 08:19 +0100
    Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-12-29 09:11 +0100
      Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2015-12-29 19:49 -0800
        Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-12-30 09:36 +0100
          Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2015-12-30 13:53 -0800
            Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2015-12-31 09:32 +0100
              Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2015-12-31 01:11 -0800
                Re: AES256-ICM Sherlock <sherlock@sherlock.com.au> - 2016-01-01 04:32 -0800
                Re: AES256-ICM Franz Rachbauer <office@rachbauer.org> - 2016-01-01 18:16 +0100

csiph-web