sha256 support for sign and token