I 100% agree with this. Third-party libraries (from trusted sources) for things security/crypto related are absolutely the way to go.