/// Create a new random recovery key.
Create a new random recovery key.
Create a new random recovery key .
pub fn new() -> Result<Self, RandomError> {
        let mut rng = thread_rng();
        let mut key = [0u8; Self::KEY_SIZE];
        key.try_fill(&mut rng)?;
        Ok(Self { inner: key })
    }
pub fn new ( ) -> Result < Self , RandomError > { let mut rng = thread_rng ( ) ; let mut key = [ 0u8 ; Self :: KEY_SIZE ] ; key . try_fill ( & mut rng ) ? ; Ok ( Self { inner : key } ) }
Create a new random recovery key.
Create a new random recovery key .