We need to provide encoding and decoding functions (hex, base64, etc) that are safe against side channel attacks.