Package-level declarations

Types

Link copied to clipboard
external interface CryptoJs
Link copied to clipboard

Type alias representing a Base64-encoded string.

Link copied to clipboard

Type alias representing a Base64-encoded byte array.

Link copied to clipboard
typealias MD5 = String

Type alias representing an MD5 hash as a hex-encoded string (32 characters).

Link copied to clipboard

This typealias shows that corresponding ByteArray is an raw data

Link copied to clipboard
typealias SourceString = String

This typealias shows that corresponding String is an raw data

Properties

Link copied to clipboard
external val CryptoJS: CryptoJs
Link copied to clipboard

Character array used for hexadecimal encoding (lowercase).

Functions

Link copied to clipboard

Decodes this Base64-encoded byte array back to the original byte array.

Decodes this Base64-encoded string back to the original byte array.

Link copied to clipboard

Decodes this Base64-encoded byte array back to the original string.

Decodes this Base64-encoded string back to the original string.

Link copied to clipboard

Encodes this byte array to Base64 format, returning the result as a byte array.

Encodes this string to Base64 format, returning the result as a byte array.

Link copied to clipboard

Encodes this byte array to Base64 format, returning the result as a string.

Encodes this string to Base64 format, returning the result as a string.

Link copied to clipboard

Converts this byte array to a hexadecimal string representation (lowercase). Each byte is represented as two hex characters.

Converts this string to a hexadecimal representation by first encoding it as UTF-8 bytes.

Link copied to clipboard

Computes the MD5 hash of this byte array and returns it as a lowercase hex string.

Computes the MD5 hash of this string (encoded as UTF-8 bytes) and returns it as a lowercase hex string.