Struct ckb_hash::Blake2bBuilder
source · pub struct Blake2bBuilder { /* private fields */ }
Implementations§
source§impl Blake2bBuilder
impl Blake2bBuilder
pub fn new(out_len: usize) -> Blake2bBuilder
pub fn salt(self, salt: &[u8]) -> Blake2bBuilder
pub fn personal(self, personal: &[u8]) -> Blake2bBuilder
pub fn key(self, key: &[u8]) -> Blake2bBuilder
pub fn build(self) -> Blake2b
Auto Trait Implementations§
impl RefUnwindSafe for Blake2bBuilder
impl Send for Blake2bBuilder
impl Sync for Blake2bBuilder
impl Unpin for Blake2bBuilder
impl UnwindSafe for Blake2bBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more