[Pharo-project] CRC in System-Hashing?

Stéphane Ducasse stephane.ducasse at inria.fr
Fri Mar 2 03:49:30 EST 2012


Marcus

Do you play the role of yellers :)
Let them do and we should move on. 
So max if you have solution for a better world we are all ears open :)

Stef

>> I need to calculate CRC for Git and couldn't find it in the system packages (I guess I'd find it in Cryptography). Since Pharo has a system package called "System-Hashing" I was wondering if anyone sees a reason why CRC should not be part of that package. That would also allow the Zip implementation to use the system CRC function (at the moment Zip implements its own CRC check). 
>> 
> Yes, that would be nice. But people will yell at you for making Pharo bloated and going in the completely wrong direction and
> that you should and never ever add any code.
> 
>> Another thing: going through Sytem-Hashing I noticed that there are two implementations for SHA1: "SHA1" and "SecureHashAlgorithm". They both have the exact same class comment but vary slightly in the messages they implement (although most of them are present in both classes). Can we remove one?
> 
> Yes. But for sure someone will yell at you if you remove it, because the system should be stable and not force people to 
> change their code. 
> 
> 	Marcus
> 
> --
> Marcus Denker -- http://marcusdenker.de
> 
> 





More information about the Pharo-dev mailing list