Trait akd::DomainLabel

source ·
pub trait DomainLabel: Clone + 'static {
    // Required method
    fn domain_label() -> &'static [u8] ;
}
Expand description

Trait for specifying a domain separation label that should be specific to the application

Required Methods§

source

fn domain_label() -> &'static [u8]

Returns a label, which is used as a domain separator when computing hashes

Object Safety§

This trait is not object safe.

Implementors§