Add documentation

pull/7/head
Niels Andriesse 6 years ago
parent 3bd3341e64
commit 4e8e5a4a74

@ -6,6 +6,7 @@ public extension ECKeyPair {
}
var hexEncodedPublicKey: String {
// Prefixing with "05" is necessary for what seems to be a sort of Signal public key versioning system
return "05" + publicKey.map { String(format: "%02hhx", $0) }.joined()
}
}

Loading…
Cancel
Save