pub fn from_base64(s: &str) -> Result<Digest<N>, DigestNError> {
        let bytes = base64::decode(s)?;
        let arr: [u8; N] = bytes.as_slice().try_into()?;
        Ok(Digest(Box::new(arr)))
    }
/// Parse Digest<N> from base64 encoded string
Parse Digest from base64 encoded string
Parse Digest from base64 encoded string
pub fn from_base64(s: &str) -> Result<Digest<N>, DigestNError> {
        let bytes = base64::decode(s)?;
        let arr: [u8; N] = bytes.as_slice().try_into()?;
        Ok(Digest(Box::new(arr)))
    }
pub fn from_base64 ( s : & str ) -> Result < Digest < N > , DigestNError > { let bytes = base64 :: decode ( s ) ? ; let arr : [ u8 ; N ] = bytes . as_slice ( ) . try_into ( ) ? ; Ok ( Digest ( Box :: new ( arr ) ) ) }
Parse Digest<N> from base64 encoded string
Parse Digest<N > from base64 encoded string
s
&str
s
&str