git.frostfs.info/TrueCloudLab/frostfs-sdk-go@v0.0.0-20241022124111-5361f0ecebd3/crypto/util.go (about)

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