I made this port/copy of the squeaksource package: http://smalltalkhub.com/#!/~Cryptography/Cryptography Is that the version you were thinking of and couldn't find? What is ifs? I don't understand what you want to do with the hashing. Are you talking about hashing domain objects for external storage? Do you have to interact with another system or just have hashed data in the image or stored somewhere internally to your project? What OS are you going to use? I think you can get to the point where your objects can be hashed by any of the backends you mention and just change among them as your needs change. That being said NaCl seems the most generally useful. Cryptographic hashing in Pharo is slower than C, so depending on the volume of data to hash a Pharo implementation may be too slow. hope this helps Paul Cédrick Béler wrote
Hi again,
Concerning cryptography in Pharo, there are to my knowledge : => a package developed in squeak [1] that was I think ported/forked for Pharo. I cannot find the Pharo version => a binding to the sodium library (NaCl) [2]
With one would you recommend ? Maybe another option ?
Concerning hashing (Iâd like to hash information content a bit like this is done in ifs with their multihash lib [3]) => I found a keccak implication with I think would do the [4]. Any feedback ? Other implementations available ? => Do you think having something like ifs multihash would be interesting in Pharo ?
Again, thanks in advance for your comments/advices.
Cédrick
[1] http://www.squeaksource.com/Cryptography.html <http://www.squeaksource.com/Cryptography.html> [2] http://catalog.pharo.org/catalog/project/Nacl?_s=54MCZlmxc6F08Ht4&_k=HxcBD1p... <http://catalog.pharo.org/catalog/project/Nacl?_s=54MCZlmxc6F08Ht4&_k=HxcBD1pRVtXkfVFM> [3] https://github.com/multiformats/multihash <https://github.com/multiformats/multihash> [4] https://github.com/sbragagnolo/Keccak <https://github.com/sbragagnolo/Keccak>
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html