Implemented missing tools functions

- string_to_bytes
- hex_to_bytes
- base64_to_bytes