[Glass] Encryption in GemStone

Mariano Martinez Peck marianopeck at gmail.com
Wed Nov 20 04:50:56 PST 2013


On Wed, Nov 20, 2013 at 4:49 AM, Johan Brichau <johan at yesplan.be> wrote:

> Hi Mariano,
>
> I don't have a solution for Blowfish
>
>
Hi Johan,

Somehow I thought the Pharo's version of Blowfish was ported to GemStone,
since the developer is Paul DeBruicker, but maybe it is not :(


> Grease has an abstraction for the secure hash: GRPlatform>>secureHashFor:
>


Thanks, yes, I noticed we have SecureHashAlgorithm in GemStone.


>
> Last summer, I tried to use the port of the Cryptography package to
> Gemstone [3] but I ended up only using/porting the parts to make SHA256
> work because I was under time pressure to deliver an implementation that
> uses Json Webtoken [1][2]. My version of the Cryptography core for Gemstone
> and the SHA256 package are still on a local repository. I dit not make it
> public yet because of it's intermediate ported state. Also: loading
> Cryptography on Pharo 2.0 causes a lot of dirty packages.... so I wonder
> about its future in Pharo.
>
>
Would be nice to have SHA256 :)


> I notice there is an implementation of Blowfish in the squeak/pharo
> version. Is this the one you are using?
>

Yes. Maybe (if it is just the Smalltalk part) it is not difficult to port.
What I am not sure is that sometimes these algorithms assumes the size of
the world (32 bits or 64 bits)... so that would be a difference between
Pharo and GemStone.
I will see if I can make it work.

Thanks Johan,


> Johan
>
> [1] http://tools.ietf.org/html/draft-ietf-oauth-json-web-token
> [2] http://smalltalkhub.com/#!/~JohanBrichau/Json-WebToken
> [3] http://seaside.gemtalksystems.com/ss/Cryptography.html
>
> On 20 Nov 2013, at 04:01, Mariano Martinez Peck <marianopeck at gmail.com>
> wrote:
>
> > Hi guys. I need both types of encryption: one-way and 2-way. In pharo I
> am using SecureHashAlgorithm for one way and for 2 way I use Blowfish (plus
> some add ons I put).
> >
> > What do you use in GemStone? I didn't fine anything in the programming
> guide.
> >
> > Thanks!
> >
> > --
> > Mariano
> > http://marianopeck.wordpress.com
> > _______________________________________________
> > Glass mailing list
> > Glass at lists.gemtalksystems.com
> > http://lists.gemtalksystems.com/mailman/listinfo/glass
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131120/13947a16/attachment.html>


More information about the Glass mailing list