[][src]Trait chbs::component::traits::PhraseBuilder

pub trait PhraseBuilder: HasEntropy + Debug {
    fn build_phrase(&self, words: Vec<String>) -> String;
}

Something that provides logic to combine a list of passphrase words into a passphrase.

Required methods

fn build_phrase(&self, words: Vec<String>) -> String

Build the passphrase from the given words, and combine them in one final passphrase.

Loading content...

Implementors

impl PhraseBuilder for BasicPhraseBuilder[src]

Loading content...