Create/updatemetadata/parsemetadata rewrote   add a singleRandomChar function returns a single char used for padding