Xojo Conferences
XDCMay2019MiamiUSA

[MBS] AES encryption with progress bar (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 15.1pr4
Next thread: [MBS] WinHIDMBS Trouble


Re: [MBS] PortAudioStreamRecorderMBS issue   -   Garth Hjelte
  [MBS] AES encryption with progress bar   -   Jean-Luc Arnaud
   Re: [MBS] AES encryption with progress bar   -   Christian Schmitz
   Re: [MBS] AES encryption with progress bar   -   Christian Schmitz
    Re: [MBS] AES encryption with progress bar   -   Jean-Luc Arnaud
     Re: [MBS] AES encryption with progress bar   -   Giulio Mastrosanti
      Re: [MBS] AES encryption with progress bar   -   Jean-Luc Arnaud

[MBS] AES encryption with progress bar
Date: 08.04.15 10:14 (Wed, 08 Apr 2015 11:14:37 +0200)
From: Jean-Luc Arnaud
Hi all MBS users,

Is there a way to use MBS AES encryption functions with a progress bar.
Encryption is fast but for big files.
So it could be very interesting to get either an ETR or a percentage done.

Thanks

Re: [MBS] AES encryption with progress bar
Date: 08.04.15 11:46 (Wed, 8 Apr 2015 12:46:02 +0200)
From: Christian Schmitz

> Am 08.04.2015 um 12:42 schrieb Jean-Luc Arnaud <<email address removed>>:
>
> Great, very good idea, indeed.
>

for new projects I would recommend using CipherMBS class.

It's more flexible and follows standard patterns for padding and key generation.

Sincerely
Christian

Re: [MBS] AES encryption with progress bar
Date: 08.04.15 10:25 (Wed, 8 Apr 2015 11:25:59 +0200)
From: Christian Schmitz

> Am 08.04.2015 um 11:14 schrieb Jean-Luc Arnaud <<email address removed>>:
>
> Hi all MBS users,
>
> Is there a way to use MBS AES encryption functions with a progress bar.
> Encryption is fast but for big files.
> So it could be very interesting to get either an ETR or a percentage done.

don't you have e loop in your code which passes data into the encryption?
This way you can update progress bar?

Sincerely
Christian

Re: [MBS] AES encryption with progress bar
Date: 08.04.15 11:27 (Wed, 08 Apr 2015 12:27:00 +0200)
From: Jean-Luc Arnaud
Yes, of course.
I could update a progress bar each time a file is encrypted.
But I thought to a progress bar updated during a big file encryption.

Jean-Luc Arnaud
Directeur Technique

Le 08/04/2015 11:25, Christian Schmitz a écrit :
>> Am 08.04.2015 um 11:14 schrieb Jean-Luc Arnaud <<email address removed>>:
>>
>> Hi all MBS users,
>>
>> Is there a way to use MBS AES encryption functions with a progress bar.
>> Encryption is fast but for big files.
>> So it could be very interesting to get either an ETR or a percentage done.
> don't you have e loop in your code which passes data into the encryption?
> This way you can update progress bar?
>
> Sincerely
> Christian
>

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] AES encryption with progress bar
Date: 08.04.15 11:39 (Wed, 8 Apr 2015 12:39:01 +0200)
From: Giulio Mastrosanti
I think Christian was talking about update the progress bar while chunks are read from the binarystream.

there’s an example on MBS examples folder, and the EncrypsAES method loops reading chunks of data from filein and writing them after encryption in fileout.

you can update progress bar in that loop

Giulio

- - - - - - - - - - - - - - - - - - - - - - -
BitBazar Srl
Via Andrea Doria, 57
00192 Roma
tel +39 0639737052
tel +39 0639725787
fax +39 0691659229
http://www.bitbazar.com
- - - - - - - - - - - - - - - - - - - - - - -

> Il giorno 08/apr/2015, alle ore 12:27, Jean-Luc Arnaud <<email address removed>> ha scritto:
>
> Yes, of course.
> I could update a progress bar each time a file is encrypted.
> But I thought to a progress bar updated during a big file encryption.
>
> Jean-Luc Arnaud
> Directeur Technique
>
> Le 08/04/2015 11:25, Christian Schmitz a écrit :
>>> Am 08.04.2015 um 11:14 schrieb Jean-Luc Arnaud <<email address removed>>:
>>>
>>> Hi all MBS users,
>>>
>>> Is there a way to use MBS AES encryption functions with a progress bar.
>>> Encryption is fast but for big files.
>>> So it could be very interesting to get either an ETR or a percentage done.
>> don't you have e loop in your code which passes data into the encryption?
>> This way you can update progress bar?
>>
>> Sincerely
>> Christian
>>
>
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] AES encryption with progress bar
Date: 08.04.15 11:42 (Wed, 08 Apr 2015 12:42:43 +0200)
From: Jean-Luc Arnaud
Great, very good idea, indeed.

Thanks a lot, Giulio.

Jean-Luc Arnaud

Le 08/04/2015 12:39, Giulio Mastrosanti a écrit :
> I think Christian was talking about update the progress bar while chunks are read from the binarystream.
>
> there’s an example on MBS examples folder, and the EncrypsAES method loops reading chunks of data from filein and writing them after encryption in fileout.
>
> you can update progress bar in that loop
>
> Giulio
>
> - - - - - - - - - - - - - - - - - - - - - - -
> BitBazar Srl
> Via Andrea Doria, 57
> 00192 Roma
> tel +39 0639737052
> tel +39 0639725787
> fax +39 0691659229
> http://www.bitbazar.com
> - - - - - - - - - - - - - - - - - - - - - - -
>
>> Il giorno 08/apr/2015, alle ore 12:27, Jean-Luc Arnaud <<email address removed>> ha scritto:
>>
>> Yes, of course.
>> I could update a progress bar each time a file is encrypted.
>> But I thought to a progress bar updated during a big file encryption.
>>
>> Jean-Luc Arnaud
>> Directeur Technique
>>
>> Le 08/04/2015 11:25, Christian Schmitz a écrit :
>>>> Am 08.04.2015 um 11:14 schrieb Jean-Luc Arnaud <<email address removed>>:
>>>>
>>>> Hi all MBS users,
>>>>
>>>> Is there a way to use MBS AES encryption functions with a progress bar.
>>>> Encryption is fast but for big files.
>>>> So it could be very interesting to get either an ETR or a percentage done.
>>> don't you have e loop in your code which passes data into the encryption?
>>> This way you can update progress bar?
>>>
>>> Sincerely
>>> Christian
>>>
>> _______________________________________________
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> <email address removed>
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info