Changeset 35066 in project


Ignore:
Timestamp:
01/24/18 22:47:47 (4 weeks ago)
Author:
chust
Message:

[tweetnacl] Documented derive-symmetric-box-key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/tweetnacl

    r35065 r35066  
    105105Generate a new key for symmetric boxing. Reads data from {{entropy-port}}. Returns a blobs representing the new shared key.
    106106
     107<procedure>(derive-symmetric-box-key pk sk)</procedure>
     108
     109Derive a new key for symmetric boxing from secret key {{sk}} to public key {{pk}}. The results of
     110
     111 (symmetric-box (derive-symmetric-box-key pk sk))
     112
     113and
     114
     115 (asymmetric-box pk sk)
     116
     117are equivalent. The same holds for the corresponding unbox calls.
     118
    107119<procedure>((symmetric-box k) m n)</procedure>
    108120
Note: See TracChangeset for help on using the changeset viewer.