pub fn hash256<D: FixedOutput<OutputSize=U32>>(&self, h: D) -> Transcript {
        let mut prehash = [0u8; 32];
        prehash.copy_from_slice(h.fixed_result().as_slice());
        let mut t = self.0.clone();
        t.commit_bytes(b"sign-256", &prehash);
        t
    }
/// Initalize an owned signing transcript on a message provided as
/// a hash function with 256 bit output.
Initalize an owned signing transcript on a message provided as
a hash function with 256 bit output.
Initalize an owned signing transcript on a message provided as a hash function with 256 bit output .
pub fn hash256<D: FixedOutput<OutputSize=U32>>(&self, h: D) -> Transcript {
        let mut prehash = [0u8; 32];
        prehash.copy_from_slice(h.fixed_result().as_slice());
        let mut t = self.0.clone();
        t.commit_bytes(b"sign-256", &prehash);
        t
    }
pub fn hash256 < D : FixedOutput < OutputSize = U32 > > ( & self , h : D ) -> Transcript { let mut prehash = [ 0u8 ; 32 ] ; prehash . copy_from_slice ( h . fixed_result ( ) . as_slice ( ) ) ; let mut t = self . 0 . clone ( ) ; t . commit_bytes ( b" " , & prehash ) ; t }
Initalize an owned signing transcript on a message provided as
a hash function with 256 bit output.
Initalize an owned signing transcript on a message provided as a hash function with 256 bit output .
&self
h
D
&self
h
D