goog.crypt
Functions
expand_more
byteArrayToBinaryString( bytes ) → string
string
expand_more
byteArrayToHex( array, opt_separator ) → string
string
expand_more
byteArrayToString( bytes ) → string
string
expand_more
byteArrayToText( bytes ) → string
string
Turns a string into an array of bytes; a "byte" being a JS number in the range 0-255. Multi-byte characters are written as little-endian.
Parameters |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Returns |
|
expand_more
utf8ByteArrayToString( bytes ) → string
string
Compiler Constants
expand_more
goog.crypt.ASYNC_THROW_ON_UNICODE_TO_BYTE → boolean
boolean
Whether to async-throw on unicode input to the legacy versions of
goog.crypt.stringToByteArray
(i.e. when throwSync
is false).
NOTE: The default will change to true
soon, after notifying users.