A minimal SHA-1 implementation