Closed
Description
When we generate a sharedKey this way, we have two bytes at the beginning of the hexadecimal string. These two bytes vary between 02 and 03.
02bd31c0f26231b8e03500fa9d7eae20a275be3e89fc492a057714a43370629c38
036d87a58361d64e85fcc032055301413chee336e00c1852192e0e6a074b12383c
What do these two bytes represent, and how can we access them to remove them without having to process the final string?
function using
var sharedKey = privateKey.sharedSecretFromKeyAgreement(with: publickey)
Metadata
Metadata
Assignees
Labels
No labels