reconstruct the hamcsha256 encode code