pub fn consume(self) -> Self {
        let mut value = self.value;
        for i in (0..value.len()).rev() {
            if let Some(v) = value[i].checked_add(1) {
                value[i] = v;
                break;
            } else {
                value[i] = 0;
            }
        }
        Self { value }
    }
/// Consume the nounce and return a new one that has not been used yet
Consume the nounce and return a new one that has not been used yet
Consume the nounce and return a new one that has not been used yet
pub fn consume(self) -> Self {
        let mut value = self.value;
        for i in (0..value.len()).rev() {
            if let Some(v) = value[i].checked_add(1) {
                value[i] = v;
                break;
            } else {
                value[i] = 0;
            }
        }
        Self { value }
    }
pub fn consume ( self ) -> Self { let mut value = self . value ; for i in ( 0 .. value . len ( ) ) . rev ( ) { if let Some ( v ) = value [ i ] . checked_add ( 1 ) { value [ i ] = v ; break ; } else { value [ i ] = 0 ; } } Self { value } }
Consume the nounce and return a new one that has not been used yet
Consume the nounce and return a new one that has not been used yet
self