Function lbcrypto::reverse_byte

Function Documentation

static inline unsigned char lbcrypto::reverse_byte(unsigned char x)

Reverses the bit order of a byte using a precomputed table.

Parameters

x – the byte to reverse.

Returns

the byte with its bits reversed.