forked from TrueCloudLab/frostfs-sdk-go
4c779423f5
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
9 lines
282 B
Go
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)
|
|
}
|