|
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_data | string | | Required. Encrypt this data. Note this parameter may be either and string or a Binary object | algorithm | string | | Required. The encryption algorithm to be used, eg 'DES' | options | struct WbString.Options | see 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 |
|
(loadtime : 10ms) |