☰
PublicInteger
PublicInteger
Required Associated Types
SecretVersion
Implementations on Foreign Types
i128
i16
i32
i64
i8
u128
u16
u32
u64
u8
Implementors
In hacspec_lib::prelude
Modules
abstract_int
ct_util
fmt
nat_mod
poly
traits
vec
Macros
Debug
PartialEq
abstract_int
abstract_nat_mod
abstract_public
abstract_public_modular_integer
abstract_public_nat_mod
abstract_secret
abstract_secret_modular_integer
abstract_signed
abstract_signed_public_integer
abstract_signed_secret_integer
abstract_unsigned
abstract_unsigned_public_integer
abstract_unsigned_secret_integer
define_abstract_integer_checked
define_refined_modular_integer
format
modular_integer
vec
Structs
BigInt
BigUint
I128
I16
I32
I64
I8
ParseIntError
Range
RangeFrom
RangeFull
RangeInclusive
RangeTo
RangeToInclusive
String
U128
U128Word
U16
U16Word
U32
U32Word
U64
U64Word
U8
Vec
Yeet
u128Word
u16Word
u32Word
u64Word
Enums
Bound
ControlFlow
GeneratorState
Ordering
Sign
Traits
Add
AddAssign
BitAnd
BitAndAssign
BitOr
BitOrAssign
BitXor
BitXorAssign
CheckedSub
CoerceUnsized
ConstOne
ConstZero
Debug
Deref
DerefMut
DispatchFromDyn
Display
Div
DivAssign
Drop
Fn
FnMut
FnOnce
FromResidual
FromStr
Generator
Index
IndexMut
Integer
ModNumeric
Mul
MulAssign
Neg
Not
Num
Numeric
NumericCopy
One
OneSidedRange
PartialEq
PublicInteger
PublicIntegerCopy
RangeBounds
Rem
RemAssign
Residual
SecretInteger
SecretIntegerCopy
SeqTrait
Shl
ShlAssign
Shr
ShrAssign
Signed
SignedInteger
SignedIntegerCopy
Sub
SubAssign
ToString
Try
TryFrom
UnsignedInteger
UnsignedIntegerCopy
UnsignedPublicInteger
UnsignedPublicIntegerCopy
UnsignedSecretInteger
UnsignedSecretIntegerCopy
Zero
Functions
I128_from_I16
I128_from_I32
I128_from_I64
I128_from_I8
I16_from_I128
I16_from_I32
I16_from_I64
I16_from_I8
I32_from_I128
I32_from_I16
I32_from_I64
I32_from_I8
I64_from_I128
I64_from_I16
I64_from_I32
I64_from_I8
I8_from_I128
I8_from_I16
I8_from_I32
I8_from_I64
U128_from_U16
U128_from_U32
U128_from_U64
U128_from_U8
U128_from_be_bytes
U128_from_le_bytes
U128_from_usize
U128_to_be_bytes
U128_to_le_bytes
U16_from_U128
U16_from_U32
U16_from_U64
U16_from_U8
U16_from_be_bytes
U16_from_le_bytes
U16_to_be_bytes
U16_to_le_bytes
U32_from_U128
U32_from_U16
U32_from_U64
U32_from_U8
U32_from_be_bytes
U32_from_le_bytes
U32_to_be_bytes
U32_to_le_bytes
U64_from_U128
U64_from_U16
U64_from_U32
U64_from_U8
U64_from_be_bytes
U64_from_le_bytes
U64_from_usize
U64_to_be_bytes
U64_to_le_bytes
U8_from_U128
U8_from_U16
U8_from_U32
U8_from_U64
U8_from_usize
add_poly
cadd
cmul
cset_bit
csub
cswap
cswap_bit
ct_div
declassify_u128_from_U128
declassify_u128_from_U32
declassify_u128_from_U64
declassify_u128_from_U8
declassify_u16_from_U16
declassify_u16_from_U8
declassify_u32_from_U16
declassify_u32_from_U32
declassify_u32_from_U8
declassify_u64_from_U16
declassify_u64_from_U32
declassify_u64_from_U64
declassify_u64_from_U8
declassify_u8_from_U8
declassify_usize_from_U8
degree_poly
div_poly
div_scalar
extended_euclid
hex_string_to_bytes
make_positive
min
mul_poly
mul_poly_irr
one
poly_to_ring
sub_poly
to_array
u128_from_U16
u128_from_be_bytes
u128_from_le_bytes
u128_to_be_bytes
u128_to_le_bytes
u16_from_U128
u16_from_U32
u16_from_U64
u16_from_be_bytes
u16_from_le_bytes
u16_to_be_bytes
u16_to_le_bytes
u32_from_U128
u32_from_U64
u32_from_be_bytes
u32_from_le_bytes
u32_to_be_bytes
u32_to_le_bytes
u64_from_U128
u64_from_be_bytes
u64_from_le_bytes
u64_to_be_bytes
u64_to_le_bytes
u8_from_U128
u8_from_U16
u8_from_U32
u8_from_U64
vec_poly_add
vec_poly_mul
vec_poly_sub
weight
zero
?
Trait
hacspec_lib
::
prelude
::
PublicInteger
source
·
[
−
]
pub trait PublicInteger:
Integer
{ type
SecretVersion
:
Integer
; }
Required Associated Types
source
type
SecretVersion
:
Integer
Implementations on Foreign Types
source
impl
PublicInteger
for
u8
type
SecretVersion
=
U8
source
impl
PublicInteger
for
u16
type
SecretVersion
=
U16
source
impl
PublicInteger
for
u32
type
SecretVersion
=
U32
source
impl
PublicInteger
for
u64
type
SecretVersion
=
U64
source
impl
PublicInteger
for
u128
type
SecretVersion
=
U128
source
impl
PublicInteger
for
i8
type
SecretVersion
=
I8
source
impl
PublicInteger
for
i16
type
SecretVersion
=
I16
source
impl
PublicInteger
for
i32
type
SecretVersion
=
I32
source
impl
PublicInteger
for
i64
type
SecretVersion
=
I64
source
impl
PublicInteger
for
i128
type
SecretVersion
=
I128
Implementors
source
impl
PublicInteger
for
BigInt
type
SecretVersion
=
BigInt