Rename crypt to one not colliding with libc function on BSD and MacOS

This made element_to_string/binary use empty string in place of all
attribute values and cdata.