Use double sha256 instead of SAMY. Call it HASH256.
Removed unused HashAlgorithm1, HashAlgorithm2,
XOR(), and related config entries.
Fix up comments; remove all instances of "samy".
Removed var bReturnValue.