Skip to main content

pack16

Function pack16 

Source
pub fn pack16(d: [b17; 16]) -> [b85; 4]
Expand description

Sixteen digits into four 85-bit limbs (the last limb holds one digit).

Five digits fill a limb exactly, so the limbs are the same binary number in a wider radix. Wide additions run on limbs, which needs one carry per 85 bits instead of one per digit.