Struct buildchain::Sha384 [] [src]

pub struct Sha384(_);

A serializable representation of a Sha384 hash

Methods

impl Sha384
[src]

Create a new Sha384 by reading the provided input

Arguments

  • input - A std::io::Read object that will be used as input to the Sha384 algorithm

Return

The Sha384 of the provided input data

Errors

Errors that are encountered while reading will be returned

Example

use buildchain::Sha384;

let data = "Input";
let sha = Sha384::new(data.as_bytes()).unwrap();

Trait Implementations

impl Clone for Sha384
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sha384
[src]

Formats the value using the given formatter.

impl Eq for Sha384
[src]

impl PartialEq for Sha384
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.