Package-level declarations

Functions

Link copied to clipboard

Creates random UUID.

Link copied to clipboard
fun currentTimeInIso8601(clock: Clock = Clock.System): String

Current time in ISO 8601 format.

Link copied to clipboard
fun currentTimeInMillis(clock: Clock = Clock.System): Long

Current time in millis.

Link copied to clipboard
fun decodeFromBase64(encodedContent: String): String?

Decodes given base64 encoded content.

Link copied to clipboard
fun decodeFromUTF8Hex(encodedContent: String): String

Decodes given UTF-8 (hex) encoded content.

Link copied to clipboard

Encodes given content to base64.

Link copied to clipboard

Encodes given content to UTF-8 (hex).

Link copied to clipboard
fun fileMD5(filepath: String, fileSystem: FileSystem = FileSystem.SYSTEM): String

Creates MD5 hash of given file.

Link copied to clipboard
fun fileSHA1(filepath: String, fileSystem: FileSystem = FileSystem.SYSTEM): String

Creates SHA1 hash of given file.

Link copied to clipboard
fun fileSHA256(filepath: String, fileSystem: FileSystem = FileSystem.SYSTEM): String

Creates SHA256 hash of given file.

Link copied to clipboard
fun fileSHA512(filepath: String, fileSystem: FileSystem = FileSystem.SYSTEM): String

Creates SHA512 hash of given file.

Link copied to clipboard

Converts time in ISO 8601 format to millis.

Link copied to clipboard
fun main(args: Array<String>)

Entry point for native application.

Link copied to clipboard

Pretty prints given Cookie header value.

Link copied to clipboard
fun prettyPrintJson(jsonString: String): String

Pretty prints given json string.

Link copied to clipboard
fun stringMD5(content: String): String

Creates MD5 hash of given string.

Link copied to clipboard
fun stringSHA1(content: String): String

Creates SHA1 hash of given string.

Link copied to clipboard
fun stringSHA256(content: String): String

Creates SHA256 hash of given string.

Link copied to clipboard
fun stringSHA512(content: String): String

Creates SHA512 hash of given string.

Link copied to clipboard
fun timeInMillisToIso8601(timeInMillis: Long): String

Converts time in millis to ISO 8601 format.