generateSharedSecretToByteArray
Performs key agreement with the other party's key material and returns the resulting shared secret as a ByteArray.
Use generateSharedSecretToByteArrayBlocking when calling from non-suspending code.