mirror of
https://github.com/tladesignz/dnstt.git
synced 2026-10-14 01:49:02 +03:00
Fix a comment copy-and-paste error.
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ func DecodeKey(s string) ([]byte, error) {
|
||||
return key, err
|
||||
}
|
||||
|
||||
// DecodeKey decodes a hex-encoded private or public key.
|
||||
// EncodeKey encodes a hex-encoded private or public key.
|
||||
func EncodeKey(key []byte) string {
|
||||
return hex.EncodeToString(key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user