connect: add function to detect supported v1 hash functions