How write a Go program that behaves same as openssl rehash? Can you show me how to write a Go program that produces the same output as the following?