chickadee » tweetnacl » derive-symmetric-box-key

derive-symmetric-box-key pk skprocedure

Derive a new key for symmetric boxing from secret key sk to public key pk. The results of

(symmetric-box (derive-symmetric-box-key pk sk))

and

(asymmetric-box pk sk)

are equivalent. The same holds for the corresponding unbox calls.