built a string to number and back convertor so that I can use a string as a secret for secret sharing