exposed sha256 method