Oct. 3, 2014
8:25 p.m.
On 3/10/14 14:32, Stephan Eggermont wrote:
PostgresV3-Core/Pool looks perfectly usable.
There is PG3Connection>>md5HashMessage: aString
^Smalltalk globals at: #MD5 ifPresent: [ :md5 | (md5 hashMessage: aString) hex asLowercase ] ifAbsent: [ WebUtils md5Digest: aString ]
Which works in Pharo 4, though WebUtils doesn't exist anymore. Replacing it is trivial
md5HashMessage: aString
^Smalltalk globals at: #MD5 ifPresent: [ :md5 | (md5 hashMessage: aString) hex asLowercase ] ifAbsent: [ (Smalltalk globals at: #WebUtils) md5Digest: aString ]
What was webUtils? Because I would raise an error instead.