Implement fingerprint hash based search (bridge support)
This applies both to relays and bridges. It is obviously very important for bridges since we don't want to disclose the bridge FP.
We need to be able to search bridges also by fingerprint hashes. This feature has been implemented in onionoo in #5368 (moved).
We basically need to take the plaintext fingerprint that is input inside of the search box and client side do a SHA-1 hash of the input text.
If the user inputs a fingerprint hash we should hash that again.
To understand if you are searching for a fingerprint or a hash we must check if the input search text is more than 19 chars (maximum nick size), exactly 40 and is only hex digits.