<html><head></head><body>
<p>Hey Chris, <br/>
</p>
<p>Did this approach fix your issues?</p>
<p>Kindly,<br/>
rabbit<br/>
</p>
<div class="moz-cite-prefix">On 7/13/20 11:46 PM, Robert wrote:<br/>
</div>
<blockquote type="cite" cite="mid:m5kquDLISK81gxG62UvWROxs1w6LejK4PH4yq0WMWRWS0OhhbT-m2gP27c5j6t--64zdDLtBT8o5x_Ih3iQJE9V_dzDydkZ-Md_UhACoQfk=@pm.me">
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<div>Hi Chris,</div>
<div><br/>
</div>
<div>You should only need to run #3, which will load Registers.
Hasher was from before we integrated the code into
ProCrypto-1-1-1.<caret></caret></div>
<div><br/>
</div>
<div><span style="caret-color: rgb(80, 80, 97);">Installer as
project: ‘Cryptography’; install: ‘ProCrypto-1-1-1’.</span><br/>
</div>
<div><br/>
</div>
<div>Then to load tests run:</div>
<div><br/>
</div>
<div>Installer as project: ‘Cryptography’; install:
‘ProCryptoTests-1-1-1’.</div>
<div><br/>
</div>
<div>Let us know if any tests fail and we can look into it.</div>
<div><br/>
</div>
<div id="protonmail_signature_block" class="protonmail_signature_block">
<div>
<div>Kindly,<br/>
Robert<br/>
</div>
</div>
</div>
<div><br/>
</div>
<div><br/>
</div>
On Mon, Jul 13, 2020 at 19:52, Chris Muller <<a href="mailto:asqueaker@gmail.com" class="" moz-do-not-send="true">asqueaker@gmail.com</a>> wrote:
<blockquote class="protonmail_quote" type="cite"> Hi Robert, hi
Levente,<br/>
<br/>
I would like to utilize the latest crypto in my next project,
would<br/>
you help me with the current proper way to configure my image,
and my<br/>
vm with plugins?<br/>
<br/>
(image)<br/>
In going back through some recent messages on the mailing lists
and<br/>
instructions on squeaksource.com, I came across these
incantations as<br/>
current ways to load the image code:<br/>
<br/>
1) Installer ss<br/>
project: 'Registers';<br/>
install: 'Registers';<br/>
project: 'Hasher';<br/>
install: 'HAHasher-Core';<br/>
install: 'HAHasher-Tests'.<br/>
<br/>
2) Installer ss<br/>
project: 'Registers';<br/>
install: 'Registers';<br/>
project: 'Hasher';<br/>
install: 'HAHasher'.<br/>
<br/>
3) Installer ss project: 'Cryptography'; install:
'ProCrypto-1-1-1'.<br/>
<br/>
I like these one-click-for-everything scripts for crypto -- it<br/>
satisfies the good use-case of development and education, and
also<br/>
knowing all what's available to Squeak in one glance. My app's
build<br/>
script can cherry pick what it needs, but any advice on which
starting<br/>
point above or otherwise is appreciated.<br/>
<br/>
(vm)<br/>
I put the SHA2Plugin.so from Roberts dropbox in the lib
directory,<br/>
and it shows up as a "Loaded VM Module" in About Squeak. But,
three<br/>
of the "WithPluginTest"'s are failing. My OS is linux_x64. I
don't<br/>
know how to build Squeak or plugins from sources, but including
it in<br/>
the standard precompiled vm would be so pertinent for Squeak
today,<br/>
IMO. SHA256 is one of the ones I'm going to need, so would be
nice to<br/>
have it work via plugin. I assume it's a lot faster?<br/>
<br/>
Thanks,<br/>
Chris<br/>
<br/>
On Tue, Mar 10, 2020 at 3:52 PM Levente Uzonyi
<a class="moz-txt-link-rfc2396E" href="mailto:leves@caesar.elte.hu"><leves@caesar.elte.hu></a> wrote:<br/>
><br/>
><br/>
> Hi Robert,<br/>
><br/>
> With yesterday's help from Eliot and Nicolas, the
SHA2Plugin is ready:<br/>
>
<a class="moz-txt-link-freetext" href="http://squeaksource.com/Cryptography/CryptographyPlugins-ul.19.mcz">http://squeaksource.com/Cryptography/CryptographyPlugins-ul.19.mcz</a><br/>
> The updated version of the image-side code is available in
the Hasher<br/>
> repository. You can install it with:<br/>
><br/>
> Installer ss<br/>
> project: 'Registers';<br/>
> install: 'Registers';<br/>
> project: 'Hasher';<br/>
> install: 'HAHasher-Core';<br/>
> install: 'HAHasher-Tests'.<br/>
><br/>
><br/>
> Levente<br/>
><br/>
><br/>
> On Tue, 10 Mar 2020, Levente Uzonyi wrote:<br/>
><br/>
> ><br/>
> > Hi Robert,<br/>
> ><br/>
> > Please have a look at:<br/>
> >
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-March/207851.html">http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-March/207851.html</a><br/>
> > It answers all your questions.<br/>
> ><br/>
> ><br/>
> > Levente<br/>
> ><br/>
> > On Tue, 10 Mar 2020, Robert wrote:<br/>
> ><br/>
> >> Hi Levente,<br/>
> >><br/>
> >> I got the SHA2Plugin built and deployed to my
Crypto plugins folder. Now I<br/>
> > am trying to figure out how to call it from SHA512.<br/>
> >><br/>
> >>
<a class="moz-txt-link-freetext" href="https://www.dropbox.com/sh/yhv253rwrhq0q5p/AAB7PKP2KPiGpDnIyule2h_Ia?dl=0">https://www.dropbox.com/sh/yhv253rwrhq0q5p/AAB7PKP2KPiGpDnIyule2h_Ia?dl=0</a><br/>
> >><br/>
> >> [plugin] I looked at it and please understand I
think the classes you wrote<br/>
> > and the framework is really quite nice. I am thrilled
we found SHA512! It's<br/>
> > impressive that your one plugin can handle a number of
hash functions!<br/>
> >> Now all I need is to find the code that calls the
SHA2Plugin. Levente,<br/>
> > would you share that code, please?<br/>
> >><br/>
> >> Kindly,<br/>
> >> Robert<br/>
> >><br/>
> >><br/>
> ><br/>
</blockquote>
<div><br/>
</div>
<div><br/>
</div>
</blockquote>
</body></html>