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: [email protected] [mailto:[email protected]] On Behalf Of Esteban Lorenzano Sent: Friday, July 17, 2009 7:25 PM To: [email protected] 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 [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
