+

Search Tips | Advanced Search

Skip navigation links

Index Overview

PREV CLASS NEXT CLASS FRAMES (opens in new window)



Class WL.SecurityUtils

WL.SecurityUtils



Method Summary
Method Attributes Method Name and Description
 

base64Decode(input)

Decodes input base64 string to a non base64 encoded string.

 

base64Encode(input)

Encodes input as base64 string.

 

decrypt(options)

Decryption function.

 

enableOSNativeEncryption(enable)

ONLY FOR IOS.

 

encrypt(options)

Encrypts text with a key.

 

keygen(options)

Generates a key by using the PBKDF2 algorithm.

 

localRandomString(bytes)

Generates a random hex string locally.

Method Detail

base64Decode

{Promise} base64Decode(input)

Decodes input base64 string to a non base64 encoded string.


base64Encode

{Promise} base64Encode(input)

Encodes input as base64 string.


decrypt

{Promise} decrypt(options)

Decryption function.


enableOSNativeEncryption

{Promise} enableOSNativeEncryption(enable)

ONLY FOR IOS. Choose whether internal/native or OpenSSL based encryption will be applied.


encrypt

{Promise} encrypt(options)

Encrypts text with a key.


keygen

{Promise} keygen(options)

Generates a key by using the PBKDF2 algorithm.


localRandomString

{Promise} localRandomString(bytes)

Generates a random hex string locally.


© Copyright IBM Corp. 2011, 2016.