Relocate functions and add private key fingerprint generation