Rebol Programming/dh-make-key

USAGE:

edit
DH-MAKE-KEY /generate length generator 

DESCRIPTION:

edit

Creates a key object for DH.

DH-MAKE-KEY is a native value.

REFINEMENTS

edit
  • /generate
    • length -- Key length (Type: integer)
    • generator -- Generator number (Type: integer)

SOURCE CODE

edit
dh-make-key: native[
    "Creates a key object for DH." 
    /generate 
    length [integer!] "Key length" 
    generator [integer!] "Generator number"
]