frostfs-sdk-go/crypto/util.go
Pavel Karpy 4c779423f5 Move to frostfs-sdk-go
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2022-12-14 09:59:29 +03:00

9 lines
282 B
Go

package frostfscrypto
import "encoding/hex"
// StringifyKeyBinary returns string with HEX representation of source.
// Format can be changed and it's unsafe to rely on it beyond human-readable output.
func StringifyKeyBinary(src []byte) string {
return hex.EncodeToString(src)
}