So to use it in the module I just need to
1)replace std::string with String
2) remove the #include
3) Then use the ascii method to get a vector of chars to work with. (I think the class I am including only handles ascii)
4)Create a new String with the resulting data.
(It appears that their is already a function for the other code sha256_text().
Thank you for your help. I will try it out when I get time,