ltcode··on SHA256 implementation in c++Yes its safe and according to site's terms of use https://www.programmingalgorithms.com/terms-of-use you can can use it anywhere