pub fn string_to_bytes(input: &str) -> Result<Vec<u8>, WedprError>
Converts an encoded string to a bytes vector.