How IPNS, "ipfs key" keystore file name are made?

I am seeking how to find the ~/.ipfs/keystore/key_******* file corresponding to an ipfs key name

ipfs key gen mykey
is creating
~/.ipfs/keystore/key_nv4wwzlz

Do you know which hash function is used to transform mykey into nv4wwzlz ?

There’s no hashing it’s just a base32 encoding of the key’s name (i.e. mykey) go-ipfs-keystore/keystore.go at 867da36b33e79c648c09a3871ad9a31ed0d2b26a · ipfs/go-ipfs-keystore · GitHub.