Merge pull request #3724 from AndrzejKurek/transform-cipher-optimization-2

Add hash calculation to the ssl module