Namespace: crypto

qui.utils.crypto

Classes

HMACSHA256
SHA256

Methods

(static) arr2str(arr) → {String}

Convert an array representation of binary data into string representation.

Parameters:
Name Type Description
arr Array.<Number>
Source:
Returns:
Type
String

(static) b642str(b64) → {String}

Convert a base64 representation of binary data into string representation.

Parameters:
Name Type Description
b64 String
Source:
Returns:
Type
String

(static) hex2str(hex) → {String}

Convert a hex representation of binary data into string representation.

Parameters:
Name Type Description
hex String
Source:
Returns:
Type
String

(static) str2arr(str) → {Array.<Number>}

Convert a string representation of binary data into array representation.

Parameters:
Name Type Description
str String
Source:
Returns:
Type
Array.<Number>

(static) str2b64(str) → {String}

Convert a string representation of binary data into base64 representation.

Parameters:
Name Type Description
str String
Source:
Returns:
Type
String

(static) str2hex(bin) → {String}

Convert a string representation of binary data into hex representation.

Parameters:
Name Type Description
bin String
Source:
Returns:
Type
String