I had the same problem. I added the following to my compatibility package. In Pharo now I do:
shaHashMessage: aString��
"this method hashes aString using a SHA1 (SecureHashAlgorithm) method.
Returns an integer"
^ (SHA1 new hashStream: aString readStream) asInteger
(which works in 2.0 and 3.0)
and in gemstone I do:
shaHashMessage: aString��
"this method hashes aString using a SHA1 (SecureHashAlgorithm) method.
Returns an integer"
^ SecureHashAlgorithm new hashMessage: aString