[Tokenlib] slice to 32 bits instead of 32 bytes