added sha256 hashing - added security options