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

WbString Object Description

This is a sub-class of the generic JavaScript String class. The main additions are a set of class methods that encode/decode strings between different formats.

Methods

WbString.toQuotedPrintable() Produce a quoted-printable encoding of the argument.
WbString.fromQuotedPrintable()

Extract the original string from a quoted-printable encoding of that string.

WbString.toBase64() Produce a base-64 encoding of the argument.
WbString.fromBase64() Extract the source string from a base-64 encoded argument.
WbString.toUTF8() Produce a UTF-8 encoding string of the argument.
WbString.fromUTF8() Extract a Javascript string from a UTF-8 encoded string
WbString.hmac() Perform a Hash-based Message Authentication Code on the input string
WbString.hmac2() Perform a Hash-based Message Authentication Code on the input string
WbString.encrypt() Perform a an encryption of the provided data
WbString.sign() Generate a digital signature of some data
WbString.passwordHash() Perform a password hash on the input string
WbString.passwordCheck() Compare the password parameter agaist stored hash

Aggregate Types

WbString.Options Options that configure how some WbString functions behave
Whitebeam release 1.3.36
(loadtime : 9ms)