pull down to refresh

It seems to me that the public keys and private keys for BTC function in almost the same way as pgp did, ages ago. If I remember correctly the key is some sort of diffident-helmet hash, isn’t it? So this key might be some sort of hash or sha??? Type of encryption.