On Sat, Jul 18, 2009 at 3:41 AM, Adrian Lienhard <adi@netstyle.ch> wrote:
Bill, please note that Esteban just needs a standard hash algorithm.
No encryption.

Some time ago we discussed including hash functions from Cryptography
in Pharo core. We postponed it then because it seemed that maybe some
people would join and make Cryptography work in Pharo. An OpenSSL
interface would be a very interesting alternative too.

In any case I think we should add MD5 and maybe some other hash
functions to the core. Will add this to my todo list.
I think tihs can be easy as perhaps the only thing you must do is to copy the MD5 class to the core. I think it has no dependencies...But I should check that


Adrian


On Jul 18, 2009, at 05:09 , Schwab,Wilhelm K wrote:

> Esteban,
>
> IMHO, the correct path is to write an interface for OpenSSL.
> Ultimately, that should also give us SSL sockets, but long before
> that, it can provide various hashes and cyphers with very little
> effort. �I am open on whether the interface should be FFI, Alien, or
> plugin based. �One argument for a plugin could come through benefits
> that _might_ acrue to sockets. �I have along way to go on Squeak/
> Pharo external interfacing, so I could be way off here(!!), but I am
> under the impression that plugins can use OS threads, and that could
> greatly simplify getting OpenSSL to not hang the entire image while
> waiting on things to happen to/on a socket; that benefit would come
> at the cost of having to write a plugin.
>
> Another option might be to use FFI/Alien to access the cyphers and
> have a plugin for the SSL sockets. �Hopefully someone with Squeak
> external interfacing experience will tell us "where be the dragons"
> with the various options.
>
> Bill
>
>
> -----Original Message-----
> From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> ] On Behalf Of Esteban Lorenzano
> Sent: Friday, July 17, 2009 7:25 PM
> To: pharo-project@lists.gforge.inria.fr
> Subject: [Pharo-project] MD5 in pharo?
>
> Hi,
> Some time ago, I read a thread about cryotography, and as far as I
> remember, some body says about integrate the basic algoritms (MD5
> and maybe others) as part of the pharo core.
> Well... now I need to use MD5 and cryptography package is not
> working well (it opens a debugger each time I save my image).
>
> I wonder if there are another package with MD5?
>
> Cheers,
> Esteban
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project