5
5
#[repr(transparent)] pub struct bitcoin_hashes::sha1::Hash(_)
6
6
#[repr(transparent)] pub struct bitcoin_hashes::sha256::Hash(_)
7
7
#[repr(transparent)] pub struct bitcoin_hashes::sha256d::Hash(_)
8
- #[repr(transparent)] pub struct bitcoin_hashes::sha256t::Hash<T: bitcoin_hashes::sha256t::Tag >(_, _)
8
+ #[repr(transparent)] pub struct bitcoin_hashes::sha256t::Hash<T>(_, _)
9
9
#[repr(transparent)] pub struct bitcoin_hashes::sha384::Hash(_)
10
10
#[repr(transparent)] pub struct bitcoin_hashes::sha512::Hash(_)
11
11
#[repr(transparent)] pub struct bitcoin_hashes::sha512_256::Hash(_)
@@ -431,7 +431,6 @@ impl<T: bitcoin_hashes::Hash> core::marker::StructuralPartialEq for bitcoin_hash
431
431
impl<T: bitcoin_hashes::Hash> std::io::Write for bitcoin_hashes::hmac::HmacEngine<T>
432
432
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash<T>
433
433
impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::serde_macros::serde_details::SerdeHash for bitcoin_hashes::sha256t::Hash<T>
434
- impl<T: bitcoin_hashes::sha256t::Tag> bitcoin_hashes::sha256t::Hash<T>
435
434
impl<T: bitcoin_hashes::sha256t::Tag> core::borrow::Borrow<[u8]> for bitcoin_hashes::sha256t::Hash<T>
436
435
impl<T: bitcoin_hashes::sha256t::Tag> core::clone::Clone for bitcoin_hashes::sha256t::Hash<T>
437
436
impl<T: bitcoin_hashes::sha256t::Tag> core::cmp::Eq for bitcoin_hashes::sha256t::Hash<T>
@@ -458,6 +457,8 @@ impl<T: core::cmp::PartialEq + bitcoin_hashes::Hash> core::cmp::PartialEq for bi
458
457
impl<T: core::cmp::PartialOrd + bitcoin_hashes::Hash> core::cmp::PartialOrd for bitcoin_hashes::hmac::Hmac<T>
459
458
impl<T: core::hash::Hash + bitcoin_hashes::Hash> core::hash::Hash for bitcoin_hashes::hmac::Hmac<T>
460
459
impl<T: core::marker::Copy + bitcoin_hashes::Hash> core::marker::Copy for bitcoin_hashes::hmac::Hmac<T>
460
+ impl<T> bitcoin_hashes::sha256t::Hash<T> where (T): bitcoin_hashes::sha256t::Tag
461
+ impl<T> bitcoin_hashes::sha256t::Tag for (T) where T: bitcoin_hashes::sha256t::Tag
461
462
impl<T> core::marker::Freeze for bitcoin_hashes::hkdf::Hkdf<T> where T: core::marker::Freeze
462
463
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::Hmac<T> where T: core::marker::Freeze
463
464
impl<T> core::marker::Freeze for bitcoin_hashes::hmac::HmacEngine<T> where <T as bitcoin_hashes::Hash>::Engine: core::marker::Freeze
@@ -534,56 +535,50 @@ pub const bitcoin_hashes::siphash24::Hash::DISPLAY_BACKWARD: bool
534
535
pub const bitcoin_hashes::siphash24::Hash::LEN: usize
535
536
pub const bitcoin_hashes::siphash24::Hash::N: usize
536
537
pub const bitcoin_hashes::siphash24::HashEngine::BLOCK_SIZE: usize
537
- pub const fn bitcoin_hashes::hash160::Hash::all_zeros() -> Self
538
538
pub const fn bitcoin_hashes::hash160::Hash::as_byte_array(&self) -> &[u8; 20]
539
539
pub const fn bitcoin_hashes::hash160::Hash::from_byte_array(bytes: [u8; 20]) -> Self
540
540
pub const fn bitcoin_hashes::hash160::Hash::to_byte_array(self) -> [u8; 20]
541
- pub const fn bitcoin_hashes::ripemd160::Hash::all_zeros() -> Self
542
541
pub const fn bitcoin_hashes::ripemd160::Hash::as_byte_array(&self) -> &[u8; 20]
543
542
pub const fn bitcoin_hashes::ripemd160::Hash::from_byte_array(bytes: [u8; 20]) -> Self
544
543
pub const fn bitcoin_hashes::ripemd160::Hash::to_byte_array(self) -> [u8; 20]
545
- pub const fn bitcoin_hashes::sha1::Hash::all_zeros() -> Self
546
544
pub const fn bitcoin_hashes::sha1::Hash::as_byte_array(&self) -> &[u8; 20]
547
545
pub const fn bitcoin_hashes::sha1::Hash::from_byte_array(bytes: [u8; 20]) -> Self
548
546
pub const fn bitcoin_hashes::sha1::Hash::to_byte_array(self) -> [u8; 20]
549
- pub const fn bitcoin_hashes::sha256::Hash::all_zeros() -> Self
550
547
pub const fn bitcoin_hashes::sha256::Hash::as_byte_array(&self) -> &[u8; 32]
551
548
pub const fn bitcoin_hashes::sha256::Hash::const_hash(bytes: &[u8]) -> Self
552
549
pub const fn bitcoin_hashes::sha256::Hash::from_byte_array(bytes: [u8; 32]) -> Self
553
550
pub const fn bitcoin_hashes::sha256::Hash::to_byte_array(self) -> [u8; 32]
554
551
pub const fn bitcoin_hashes::sha256::Midstate::from_byte_array(inner: [u8; 32]) -> Self
555
552
pub const fn bitcoin_hashes::sha256::Midstate::hash_tag(tag: &[u8]) -> Self
556
553
pub const fn bitcoin_hashes::sha256::Midstate::to_byte_array(self) -> [u8; 32]
557
- pub const fn bitcoin_hashes::sha256d::Hash::all_zeros() -> Self
558
554
pub const fn bitcoin_hashes::sha256d::Hash::as_byte_array(&self) -> &[u8; 32]
559
555
pub const fn bitcoin_hashes::sha256d::Hash::from_byte_array(bytes: [u8; 32]) -> Self
560
556
pub const fn bitcoin_hashes::sha256d::Hash::to_byte_array(self) -> [u8; 32]
561
- pub const fn bitcoin_hashes::sha384::Hash::all_zeros() -> Self
557
+ pub const fn bitcoin_hashes::sha256t::Hash<T>::as_byte_array(&self) -> &[u8; 32]
558
+ pub const fn bitcoin_hashes::sha256t::Hash<T>::from_byte_array(bytes: [u8; 32]) -> Self
559
+ pub const fn bitcoin_hashes::sha256t::Hash<T>::to_byte_array(self) -> [u8; 32]
562
560
pub const fn bitcoin_hashes::sha384::Hash::as_byte_array(&self) -> &[u8; 48]
563
561
pub const fn bitcoin_hashes::sha384::Hash::from_byte_array(bytes: [u8; 48]) -> Self
564
562
pub const fn bitcoin_hashes::sha384::Hash::to_byte_array(self) -> [u8; 48]
565
- pub const fn bitcoin_hashes::sha512::Hash::all_zeros() -> Self
566
563
pub const fn bitcoin_hashes::sha512::Hash::as_byte_array(&self) -> &[u8; 64]
567
564
pub const fn bitcoin_hashes::sha512::Hash::from_byte_array(bytes: [u8; 64]) -> Self
568
565
pub const fn bitcoin_hashes::sha512::Hash::to_byte_array(self) -> [u8; 64]
569
- pub const fn bitcoin_hashes::sha512_256::Hash::all_zeros() -> Self
570
566
pub const fn bitcoin_hashes::sha512_256::Hash::as_byte_array(&self) -> &[u8; 32]
571
567
pub const fn bitcoin_hashes::sha512_256::Hash::from_byte_array(bytes: [u8; 32]) -> Self
572
568
pub const fn bitcoin_hashes::sha512_256::Hash::to_byte_array(self) -> [u8; 32]
573
- pub const fn bitcoin_hashes::siphash24::Hash::all_zeros() -> Self
574
569
pub const fn bitcoin_hashes::siphash24::Hash::as_byte_array(&self) -> &[u8; 8]
575
570
pub const fn bitcoin_hashes::siphash24::Hash::from_byte_array(bytes: [u8; 8]) -> Self
576
571
pub const fn bitcoin_hashes::siphash24::Hash::to_byte_array(self) -> [u8; 8]
577
572
pub const fn bitcoin_hashes::siphash24::HashEngine::new() -> bitcoin_hashes::siphash24::HashEngine
578
573
pub const fn bitcoin_hashes::siphash24::HashEngine::with_keys(k0: u64, k1: u64) -> bitcoin_hashes::siphash24::HashEngine
579
574
pub extern crate bitcoin_hashes::hex
580
575
pub extern crate bitcoin_hashes::serde
576
+ pub fn (T)::engine() -> bitcoin_hashes::sha256::HashEngine
581
577
pub fn bitcoin_hashes::FromSliceError::clone(&self) -> bitcoin_hashes::FromSliceError
582
578
pub fn bitcoin_hashes::FromSliceError::eq(&self, other: &bitcoin_hashes::FromSliceError) -> bool
583
579
pub fn bitcoin_hashes::FromSliceError::expected_length(&self) -> usize
584
580
pub fn bitcoin_hashes::FromSliceError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
585
581
pub fn bitcoin_hashes::FromSliceError::invalid_length(&self) -> usize
586
- pub fn bitcoin_hashes::Hash::all_zeros() -> Self
587
582
pub fn bitcoin_hashes::Hash::as_byte_array(&self) -> &Self::Bytes
588
583
pub fn bitcoin_hashes::Hash::engine() -> Self::Engine
589
584
pub fn bitcoin_hashes::Hash::from_byte_array(bytes: Self::Bytes) -> Self
@@ -596,7 +591,6 @@ pub fn bitcoin_hashes::HashEngine::input(&mut self, data: &[u8])
596
591
pub fn bitcoin_hashes::HashEngine::midstate(&self) -> Self::MidState
597
592
pub fn bitcoin_hashes::HashEngine::n_bytes_hashed(&self) -> usize
598
593
pub fn bitcoin_hashes::cmp::fixed_time_eq(a: &[u8], b: &[u8]) -> bool
599
- pub fn bitcoin_hashes::hash160::Hash::all_zeros() -> Self
600
594
pub fn bitcoin_hashes::hash160::Hash::as_byte_array(&self) -> &Self::Bytes
601
595
pub fn bitcoin_hashes::hash160::Hash::as_ref(&self) -> &[u8; 20]
602
596
pub fn bitcoin_hashes::hash160::Hash::as_ref(&self) -> &[u8]
@@ -629,7 +623,6 @@ pub fn bitcoin_hashes::hkdf::Hkdf<T>::new(salt: &[u8], ikm: &[u8]) -> Self
629
623
pub fn bitcoin_hashes::hkdf::MaxLengthError::clone(&self) -> bitcoin_hashes::hkdf::MaxLengthError
630
624
pub fn bitcoin_hashes::hkdf::MaxLengthError::eq(&self, other: &bitcoin_hashes::hkdf::MaxLengthError) -> bool
631
625
pub fn bitcoin_hashes::hkdf::MaxLengthError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
632
- pub fn bitcoin_hashes::hmac::Hmac<T>::all_zeros() -> Self
633
626
pub fn bitcoin_hashes::hmac::Hmac<T>::as_byte_array(&self) -> &Self::Bytes
634
627
pub fn bitcoin_hashes::hmac::Hmac<T>::as_ref(&self) -> &[u8]
635
628
pub fn bitcoin_hashes::hmac::Hmac<T>::clone(&self) -> bitcoin_hashes::hmac::Hmac<T>
@@ -659,7 +652,6 @@ pub fn bitcoin_hashes::hmac::HmacEngine<T>::n_bytes_hashed(&self) -> usize
659
652
pub fn bitcoin_hashes::hmac::HmacEngine<T>::new(key: &[u8]) -> bitcoin_hashes::hmac::HmacEngine<T>
660
653
pub fn bitcoin_hashes::hmac::HmacEngine<T>::write(&mut self, buf: &[u8]) -> bitcoin_io::Result<usize>
661
654
pub fn bitcoin_hashes::hmac::HmacEngine<T>::write(&mut self, buf: &[u8]) -> std::io::error::Result<usize>
662
- pub fn bitcoin_hashes::ripemd160::Hash::all_zeros() -> Self
663
655
pub fn bitcoin_hashes::ripemd160::Hash::as_byte_array(&self) -> &Self::Bytes
664
656
pub fn bitcoin_hashes::ripemd160::Hash::as_ref(&self) -> &[u8; 20]
665
657
pub fn bitcoin_hashes::ripemd160::Hash::as_ref(&self) -> &[u8]
@@ -698,7 +690,6 @@ pub fn bitcoin_hashes::ripemd160::HashEngine::write(&mut self, buf: &[u8]) -> st
698
690
pub fn bitcoin_hashes::serde_macros::serde_details::SerdeHash::deserialize<'de, D: serde::de::Deserializer<'de>>(d: D) -> core::result::Result<Self, <D as serde::de::Deserializer>::Error>
699
691
pub fn bitcoin_hashes::serde_macros::serde_details::SerdeHash::from_slice_delegated(sl: &[u8]) -> core::result::Result<Self, bitcoin_hashes::FromSliceError>
700
692
pub fn bitcoin_hashes::serde_macros::serde_details::SerdeHash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
701
- pub fn bitcoin_hashes::sha1::Hash::all_zeros() -> Self
702
693
pub fn bitcoin_hashes::sha1::Hash::as_byte_array(&self) -> &Self::Bytes
703
694
pub fn bitcoin_hashes::sha1::Hash::as_ref(&self) -> &[u8; 20]
704
695
pub fn bitcoin_hashes::sha1::Hash::as_ref(&self) -> &[u8]
@@ -734,7 +725,6 @@ pub fn bitcoin_hashes::sha1::HashEngine::midstate(&self) -> [u8; 20]
734
725
pub fn bitcoin_hashes::sha1::HashEngine::n_bytes_hashed(&self) -> usize
735
726
pub fn bitcoin_hashes::sha1::HashEngine::write(&mut self, buf: &[u8]) -> bitcoin_io::Result<usize>
736
727
pub fn bitcoin_hashes::sha1::HashEngine::write(&mut self, buf: &[u8]) -> std::io::error::Result<usize>
737
- pub fn bitcoin_hashes::sha256::Hash::all_zeros() -> Self
738
728
pub fn bitcoin_hashes::sha256::Hash::as_byte_array(&self) -> &Self::Bytes
739
729
pub fn bitcoin_hashes::sha256::Hash::as_ref(&self) -> &[u8; 32]
740
730
pub fn bitcoin_hashes::sha256::Hash::as_ref(&self) -> &[u8]
@@ -788,7 +778,6 @@ pub fn bitcoin_hashes::sha256::Midstate::hash<__H: core::hash::Hasher>(&self, st
788
778
pub fn bitcoin_hashes::sha256::Midstate::index(&self, index: I) -> &Self::Output
789
779
pub fn bitcoin_hashes::sha256::Midstate::partial_cmp(&self, other: &bitcoin_hashes::sha256::Midstate) -> core::option::Option<core::cmp::Ordering>
790
780
pub fn bitcoin_hashes::sha256::Midstate::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
791
- pub fn bitcoin_hashes::sha256d::Hash::all_zeros() -> Self
792
781
pub fn bitcoin_hashes::sha256d::Hash::as_byte_array(&self) -> &Self::Bytes
793
782
pub fn bitcoin_hashes::sha256d::Hash::as_ref(&self) -> &[u8; 32]
794
783
pub fn bitcoin_hashes::sha256d::Hash::as_ref(&self) -> &[u8]
@@ -815,9 +804,7 @@ pub fn bitcoin_hashes::sha256d::Hash::partial_cmp(&self, other: &bitcoin_hashes:
815
804
pub fn bitcoin_hashes::sha256d::Hash::schema_name() -> alloc::string::String
816
805
pub fn bitcoin_hashes::sha256d::Hash::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
817
806
pub fn bitcoin_hashes::sha256d::Hash::to_byte_array(self) -> Self::Bytes
818
- pub fn bitcoin_hashes::sha256t::Hash<T>::all_zeros() -> Self
819
807
pub fn bitcoin_hashes::sha256t::Hash<T>::as_byte_array(&self) -> &Self::Bytes
820
- pub fn bitcoin_hashes::sha256t::Hash<T>::as_byte_array(&self) -> &[u8; 32]
821
808
pub fn bitcoin_hashes::sha256t::Hash<T>::as_ref(&self) -> &[u8; 32]
822
809
pub fn bitcoin_hashes::sha256t::Hash<T>::as_ref(&self) -> &[u8]
823
810
pub fn bitcoin_hashes::sha256t::Hash<T>::borrow(&self) -> &[u8]
@@ -829,7 +816,6 @@ pub fn bitcoin_hashes::sha256t::Hash<T>::engine() -> bitcoin_hashes::sha256::Has
829
816
pub fn bitcoin_hashes::sha256t::Hash<T>::eq(&self, other: &bitcoin_hashes::sha256t::Hash<T>) -> bool
830
817
pub fn bitcoin_hashes::sha256t::Hash<T>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
831
818
pub fn bitcoin_hashes::sha256t::Hash<T>::from_byte_array(bytes: Self::Bytes) -> Self
832
- pub fn bitcoin_hashes::sha256t::Hash<T>::from_byte_array(bytes: [u8; 32]) -> Self
833
819
pub fn bitcoin_hashes::sha256t::Hash<T>::from_bytes_mut(bytes: &mut [u8; 32]) -> &mut Self
834
820
pub fn bitcoin_hashes::sha256t::Hash<T>::from_bytes_ref(bytes: &[u8; 32]) -> &Self
835
821
pub fn bitcoin_hashes::sha256t::Hash<T>::from_engine(e: bitcoin_hashes::sha256::HashEngine) -> bitcoin_hashes::sha256t::Hash<T>
@@ -845,9 +831,7 @@ pub fn bitcoin_hashes::sha256t::Hash<T>::partial_cmp(&self, other: &bitcoin_hash
845
831
pub fn bitcoin_hashes::sha256t::Hash<T>::schema_name() -> alloc::string::String
846
832
pub fn bitcoin_hashes::sha256t::Hash<T>::serialize<S: serde::ser::Serializer>(&self, s: S) -> core::result::Result<<S as serde::ser::Serializer>::Ok, <S as serde::ser::Serializer>::Error>
847
833
pub fn bitcoin_hashes::sha256t::Hash<T>::to_byte_array(self) -> Self::Bytes
848
- pub fn bitcoin_hashes::sha256t::Hash<T>::to_byte_array(self) -> [u8; 32]
849
834
pub fn bitcoin_hashes::sha256t::Tag::engine() -> bitcoin_hashes::sha256::HashEngine
850
- pub fn bitcoin_hashes::sha384::Hash::all_zeros() -> Self
851
835
pub fn bitcoin_hashes::sha384::Hash::as_byte_array(&self) -> &Self::Bytes
852
836
pub fn bitcoin_hashes::sha384::Hash::as_ref(&self) -> &[u8; 48]
853
837
pub fn bitcoin_hashes::sha384::Hash::as_ref(&self) -> &[u8]
@@ -879,7 +863,6 @@ pub fn bitcoin_hashes::sha384::HashEngine::default() -> Self
879
863
pub fn bitcoin_hashes::sha384::HashEngine::input(&mut self, inp: &[u8])
880
864
pub fn bitcoin_hashes::sha384::HashEngine::midstate(&self) -> [u8; 64]
881
865
pub fn bitcoin_hashes::sha384::HashEngine::n_bytes_hashed(&self) -> usize
882
- pub fn bitcoin_hashes::sha512::Hash::all_zeros() -> Self
883
866
pub fn bitcoin_hashes::sha512::Hash::as_byte_array(&self) -> &Self::Bytes
884
867
pub fn bitcoin_hashes::sha512::Hash::as_ref(&self) -> &[u8; 64]
885
868
pub fn bitcoin_hashes::sha512::Hash::as_ref(&self) -> &[u8]
@@ -915,7 +898,6 @@ pub fn bitcoin_hashes::sha512::HashEngine::midstate(&self) -> [u8; 64]
915
898
pub fn bitcoin_hashes::sha512::HashEngine::n_bytes_hashed(&self) -> usize
916
899
pub fn bitcoin_hashes::sha512::HashEngine::write(&mut self, buf: &[u8]) -> bitcoin_io::Result<usize>
917
900
pub fn bitcoin_hashes::sha512::HashEngine::write(&mut self, buf: &[u8]) -> std::io::error::Result<usize>
918
- pub fn bitcoin_hashes::sha512_256::Hash::all_zeros() -> Self
919
901
pub fn bitcoin_hashes::sha512_256::Hash::as_byte_array(&self) -> &Self::Bytes
920
902
pub fn bitcoin_hashes::sha512_256::Hash::as_ref(&self) -> &[u8; 32]
921
903
pub fn bitcoin_hashes::sha512_256::Hash::as_ref(&self) -> &[u8]
@@ -947,7 +929,6 @@ pub fn bitcoin_hashes::sha512_256::HashEngine::default() -> Self
947
929
pub fn bitcoin_hashes::sha512_256::HashEngine::input(&mut self, inp: &[u8])
948
930
pub fn bitcoin_hashes::sha512_256::HashEngine::midstate(&self) -> [u8; 64]
949
931
pub fn bitcoin_hashes::sha512_256::HashEngine::n_bytes_hashed(&self) -> usize
950
- pub fn bitcoin_hashes::siphash24::Hash::all_zeros() -> Self
951
932
pub fn bitcoin_hashes::siphash24::Hash::as_byte_array(&self) -> &Self::Bytes
952
933
pub fn bitcoin_hashes::siphash24::Hash::as_ref(&self) -> &[u8; 8]
953
934
pub fn bitcoin_hashes::siphash24::Hash::as_ref(&self) -> &[u8]
0 commit comments