//! Lowercase-hex SHA helpers used by the SNAP BI stringToSign formula.
use Digest;
/// SHA-256 of `bytes`, encoded as lowercase hex. Matches the canonical
/// body-hash form embedded in every SNAP BI service `stringToSign`.
/// SHA-512 of `bytes`, encoded as lowercase hex. Provided for variants that
/// mandate SHA-512 in the body-hash slot.