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.

REFINEMENTSEdit

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

SOURCE CODEEdit

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

{{BookCat}}
Last modified on 27 October 2012, at 22:13