🔧 Golang SSH Keys manipulation library
$ go get github.com/moul/go-sshkeys
import "github.com/moul/go-sshkeys"
sshkey, _ := sshkeys.NewSSHKey([]byte("ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApvPvDbWDY50Lsx4WyUInw407379iERte63OTTNae6+JgAeYsn52Z43Oeks/2qC0gxweq+sRY9ccqhfReie+r+mvl756T4G8lxX1ND8m6lZ9kM30Rvk0piZn3scF45spmLNzCNXza/Hagxy53P82ej2vq2ewXtjVdvW20G3cMHVLkcdgKJN+2s+UkSYlASW6enUj3no+bukT+6M8lJtlT0/0mZtnBRJtqCCvF0cm9xU0uxILrhIfdYAJ1XqaoqIQLFSDLVo5lILMzDNwV+CfAotRMWIKvWomCszhVQYHCQo2Z+b2Gs0TL4DRb23fRMdeaRufnVhh5ZMlNkb2ajaL6sw== [email protected]"))
fmt.Println(sshkey.Hash())
// Output: 7d:c7:69:37:2b:5f:84:36:db:75:98:44:db:b8:1a:36
MIT