Skip to main content

Module bitwise_operations

Module bitwise_operations 

Source
Expand description

This module provides a set of functions to perform bit operations on big integers. In particular, it gives XOR and NOT for BigUint.

Re-exportsยง

use alloc::vec; ๐Ÿ”’
use alloc::vec; ๐Ÿ”’
use alloc::vec::Vec; ๐Ÿ”’
use core::cmp::max; ๐Ÿ”’
use core::cmp::Ordering; ๐Ÿ”’
use num_bigint::BigUint; ๐Ÿ”’
use crate::BigUintHelpers; ๐Ÿ”’

Traitsยง

BitwiseOps
Bitwise operations
ToBigUint ๐Ÿ”’
Converts types to a BigUint

Functionsยง

bit_at ๐Ÿ”’
pad ๐Ÿ”’
to_padded_bytes ๐Ÿ”’