goog.crypt
Namespacegoog.crypt.Arc4
ClassARC4 streamcipher implementation. … more
goog.crypt.BlobHasher
ClassConstruct the hash computer. … more
goog.crypt.Hash
ClassCreate a cryptographic hash instance. … more
goog.crypt.Hmac
Classgoog.crypt.JpegEncoder
ClassInitializes the JpegEncoder. … more
goog.crypt.Md5
ClassMD5 cryptographic hash constructor. … more
goog.crypt.Sha1
ClassSHA-1 cryptographic hash constructor. The properties declared here are discussed in the above algorithm document. … more
goog.crypt.base64
Namespacegoog.crypt.baseN
Namespace.byteArrayToHex(array)
Turns an array of numbers into the hex string given by the concatenation of the hex values to which the numbers correspond.
array
{Array
}
string
}
.byteArrayToString(array)
Turns an array of numbers into the string given by the concatenation of the characters to which the numbers correspond.
array
{Array
}
string
}
goog.crypt.hash32
Namespace.hash_test
.stringToByteArray(str)
Turns a string into an array of bytes; a "byte" being a JS number in the range 0-255.
str
{string
}
Array
.<number
>}
.stringToUtf8ByteArray(str)
Converts a JS string to a UTF-8 "byte" array.
str
{string
}
Array
.<number
>}
.utf8ByteArrayToString(bytes)
Converts a UTF-8 byte array to JavaScript's 16-bit Unicode.
bytes
{Array
.<number
>}
string
}