pub trait Sha256 {
// Required method
fn set_mode_sha256(&self) -> Result<(), ErrorCode>;
}
Required Methods§
Sourcefn set_mode_sha256(&self) -> Result<(), ErrorCode>
fn set_mode_sha256(&self) -> Result<(), ErrorCode>
Call before adding data to perform Sha256