Function crypto_box_beforenm() computes a shared secret 's' from public key 'pk' and secret key 'sk'.
slice to put secret into
public
secret
generated secret
See Implementation
Function crypto_box_beforenm() computes a shared secret 's' from public key 'pk' and secret key 'sk'.