Jul 31, 2014 04:55 PM|Rion Williams|LINK
Both SHA1 and SHA256 are "strong" as it's rather implied (SHA stands for
Secure Hash Algorithm) and both are commonly used hash algorithms. SHA1 is typically an 160-bit hash function whereas SHA256 is going to be 256-bit and thus stronger.
Additionally, SHA1 was found to have a security flaw and hasn't really been recommended for common use for quite some time. Your best bet would probably be to use the aforementioned Crypto library with something like SHA256 (or higher).