Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

WbString.encrypt()

Perform a an encryption of the provided data

Syntax

WbString or JS Array = WbString.encrypt(input_data, algorithm, options)

Parameters

The 'WbString.encrypt' method takes 3 parameters:

Name Type/Value Range/Length Description
input_datastring  Required. Encrypt this data. Note this parameter may be either and string or a Binary object
algorithmstring  Required. The encryption algorithm to be used, eg 'DES'
optionsstruct WbString.Optionssee definition Required. Switches

Results

The 'WbString.encrypt' method returns WbString or JS Array:

Type/Value Range/Length Description
WbString or JS Array   Returns the suitably encoded version of the selected encrypted data

Remarks

TBD

Whitebeam release 1.3.36
(loadtime : 10ms)