flac should be ported to use NSS library for cryptography. See the tracking bug for details and links on how it could be done.
I don't see any uses of cryptography in FLAC.
FLAC contains its own MD5 implementation.
MD5 is used only as a checksum for audio data in flac files, closing as NOTABUG.