Revamped hash selector and added SHA256