Changeset 32833 in project


Ignore:
Timestamp:
10/20/15 18:13:31 (5 years ago)
Author:
Thomas Chust
Message:

[tweetnacl] Documentation of version 1.0_20140427 changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/tweetnacl

    r32301 r32833  
    3333The size of nonces for asymmetric cryptographic boxes in bytes.
    3434
    35 <procedure>(make-asymmetric-box-keypair)</procedure>
     35<procedure>(make-asymmetric-box-keypair [entropy-port (current-entropy-port)])</procedure>
    3636
    37 Generate a new keypair for asymmetric boxing. Reads data from {{(current-entropy-port)}}. Returns two blobs representing the new public and secret key.
     37Generate a new keypair for asymmetric boxing. Reads data from {{entropy-port}}. Returns two blobs representing the new public and secret key.
    3838
    3939<procedure>((asymmetric-box pk sk) m n)</procedure>
     
    5757The size of private keys for asymmetric cryptographic signatures in bytes.
    5858
    59 <procedure>(make-asymmetric-sign-keypair)</procedure>
     59<procedure>(make-asymmetric-sign-keypair [entropy-port (current-entropy-port)])</procedure>
    6060
    61 Generate a new keypair for asymmetric signing. Reads data from {{(current-entropy-port)}}. Returns two blobs representing the new public and secret key.
     61Generate a new keypair for asymmetric signing. Reads data from {{entropy-port}}. Returns two blobs representing the new public and secret key.
    6262
    6363<procedure>((asymmetric-sign sk) m)</procedure>
     
    8383The size of nonces for symmetric cryptographic boxes in bytes.
    8484
    85 <procedure>(make-symmetric-box-key)</procedure>
     85<procedure>(make-symmetric-box-key [entropy-port (current-entropy-port)])</procedure>
    8686
    87 Generate a new key for symmetric boxing. Reads data from {{(current-entropy-port)}}. Returns a blobs representing the new shared key.
     87Generate a new key for symmetric boxing. Reads data from {{entropy-port}}. Returns a blobs representing the new shared key.
    8888
    8989<procedure>((symmetric-box k) m n)</procedure>
     
    103103The size of shared keys for symmetric cryptographic one-time signatures in bytes.
    104104
    105 <procedure>(make-symmetric-sign-key)</procedure>
     105<procedure>(make-symmetric-sign-key [entropy-port (current-entropy-port)])</procedure>
    106106
    107 Generate a new key for symmetric signing. Reads data from {{(current-entropy-port)}}. Returns a blob representing the new shared key.
     107Generate a new key for symmetric signing. Reads data from {{entropy-port}}. Returns a blob representing the new shared key.
    108108
    109109<procedure>((symmetric-sign k) m #!key tag-only?)</procedure>
Note: See TracChangeset for help on using the changeset viewer.