public FidHashQuad hashFunction(Function function) throws MemoryAccessException {
		List<CodeUnit> codeUnits = generator.calculateExtent(function);
		if (codeUnits.size() < getShortHashCodeUnitLength()) {
			return null;
		}

		FidHasher fidHasher = getHasher(function.getProgram());
		FidHashQuad hashTriple = fidHasher.hash(function);

		return hashTriple;
	}
Hashes a single function.
@param function the function to hash
@return the small, medium and full hash result
@throws MemoryAccessException if something goes wrong reading bytes in the domain file
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/service/FidService.java