Skip to main content

Module pad

Module pad 

Source
Expand description

Conversion between integers and octet strings.

Functionsยง

be_pad_into ๐Ÿ”’
Writes the big-endian encoding of bytes into out.
i2osp ๐Ÿ”’
Integer-to-Octet-String Primitive (I2OSP) from RFC8017 ยง4.1.
i2osp_zeroizing ๐Ÿ”’
Computes i2osp (Integer-to-Octet-String Primitive) with zeroization of the input and output buffers.
os2ip ๐Ÿ”’
Octet-String-to-Integer Primitive (OS2IP) from RFC8017 ยง4.2.
os2ip_zeroizing ๐Ÿ”’
Computes os2ip (Octet-String-to-Integer Primitive) with zeroization of the input and output buffers.