Implement SHA256 and Scrypt