Jump to content

Rebol Programming/dh-make-key

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
DH-MAKE-KEY /generate length generator 

DESCRIPTION:

[edit | edit source]

Creates a key object for DH.

DH-MAKE-KEY is a native value.

REFINEMENTS

[edit | edit source]
  • /generate
    • length -- Key length (Type: integer)
    • generator -- Generator number (Type: integer)

SOURCE CODE

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