REBOL Programming/rsa-encrypt

< REBOL Programming

USAGE:

RSA-ENCRYPT obj data /decrypt /private /padding padding-type 

DESCRIPTION:

Encrypts or decrypts some data

RSA-ENCRYPT is a native value.

ARGUMENTS

REFINEMENTS

SOURCE CODE

rsa-encrypt: native[
    "Encrypts or decrypts some data" 
    obj [object!] "The RSA key object" 
    data [binary!] "Data to encrypt" 
    /decrypt "Decrypts the data (default is to encrypt)" 
    /private "Uses an RSA private key (default is a public key)" 
    /padding "Selects the type of padding to use" 
    padding-type [word! none!] "Type of padding"
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.