Can I truncate a hash value and keep (the expected amount) of collision resistance? [duplicate]

I’m building a URL-shortening tool. For an arbitrary link, I need to produce a fixed-length slug which will index the full URL in a database. For prettiness reasons, I’d like to keep the slug reasonably short (8 alphanumerical characters s… Continue reading Can I truncate a hash value and keep (the expected amount) of collision resistance? [duplicate]

Are GNU coreutils SHA digest functions FIPS-validated (in NIST’s Cryptographic Module Validation Program)?

My Challenge
My project has a requirement that we use only FIPS-validated modules to do anything cryptographic, including generating checksums for binaries. We’ve been using the SHA-2 utilities provided by GNU coreutils for a long time to … Continue reading Are GNU coreutils SHA digest functions FIPS-validated (in NIST’s Cryptographic Module Validation Program)?