Package-level declarations

Types

Link copied to clipboard
sealed class Algorithm
Link copied to clipboard
interface Digest<D : Digest<D>>

Digests are secure one-way hash functions that take arbitrary-sized data and output a fixed-length hash value.

Link copied to clipboard
interface Hmac

Denotes an Algorithm supports HMAC. While any algorithm should work, this marks algorithms that have tests in place.

Link copied to clipboard
actual typealias PlatformData = ByteArray

Represents the native platforms data type for Array like data. For (non-Darwin) native we are using ByteArray

actual typealias PlatformData = NSData

Represents the native platforms data type for Array like data. For Darwin we are using NSData

actual typealias PlatformData = NSData

Represents the native platforms data type for Array like data. For Darwin we are using NSData

expect class PlatformData

Represents the native platforms data type for Array like data

actual typealias PlatformData = ByteArray

Represents the native platforms data type for Array like data. For JVM we are using ByteArray

Link copied to clipboard
interface PlatformDigest<D : Digest<D>>

PlatformDigest is a platform specific implementation of Digest using PlatformData in place of ByteArray for easier direct native integration.