Algorithm

sealed class Algorithm(source)

Inheritors

Types

Link copied to clipboard
data object Adler32 : Algorithm

Adler-32 with output size of 32 bits

Link copied to clipboard
data object BLAKE224 : Algorithm

BLAKE with output size of 224 bits

Link copied to clipboard
data object BLAKE256 : Algorithm

BLAKE with output size of 256 bits

Link copied to clipboard
open class Blake2b(outputSizeBits: Int = 512) : Algorithm

BLAKE2b with output size of outputSizeBits bits (default: 512 bits)

Link copied to clipboard
data object Blake2b_160 : Algorithm

BLAKE2b with output size of 160 bits

Link copied to clipboard
data object Blake2b_256 : Algorithm

BLAKE2b with output size of 256 bits

Link copied to clipboard
data object Blake2b_384 : Algorithm

BLAKE2b with output size of 384 bits

Link copied to clipboard
data object Blake2b_512 : Algorithm

BLAKE2b with output size of 512 bits

Link copied to clipboard
open class Blake2s(outputSizeBits: Int = 256) : Algorithm

BLAKE2s with output size of outputSizeBits bits (default: 256 bits)

Link copied to clipboard
data object Blake2s_128 : Algorithm

BLAKE2s with output size of 128 bits

Link copied to clipboard
data object Blake2s_160 : Algorithm

BLAKE2s with output size of 160 bits

Link copied to clipboard
data object Blake2s_224 : Algorithm

BLAKE2s with output size of 224 bits

Link copied to clipboard
data object Blake2s_256 : Algorithm

BLAKE2s with output size of 256 bits

Link copied to clipboard
open class Blake3(digestLength: Int = Hasher.DEFAULT_HASH_LEN) : Algorithm

BLAKE3 with output size of digestLength bytes (default: 32 bytes)

Link copied to clipboard
data object BLAKE384 : Algorithm

BLAKE with output size of 384 bits

Link copied to clipboard
data object BLAKE512 : Algorithm

BLAKE with output size of 512 bits

Link copied to clipboard

Blue Midnight Wish with output size of 224 bits

Link copied to clipboard

Blue Midnight Wish with output size of 256 bits

Link copied to clipboard

Blue Midnight Wish with output size of 384 bits

Link copied to clipboard

Blue Midnight Wish with output size of 512 bits

Link copied to clipboard
open class CityHash128 : Algorithm

CityHash with output size of 128 bits

Link copied to clipboard
data object CityHash32 : Algorithm

CityHash with output size of 32 bits

Link copied to clipboard
open class CityHash64 : Algorithm

CityHash with output size of 64 bits

Link copied to clipboard

CityHash with output size of 128 bits

Link copied to clipboard

CityHash with output size of 256 bits

Link copied to clipboard
data object CRC32 : Algorithm

CRC with output size of 32 bits. Used by bzip.

Link copied to clipboard
data object CRC32B : Algorithm

CRC with output size of 32 bits. Used by ethernet (IEEE 802.3), gzip, zip, png, etc.

Link copied to clipboard
data object CRC32C : Algorithm

CRC with output size of 32 bits. Castagnoli's CRC, used by iSCSI, SCTP, Btrfs, ext4, etc.

Link copied to clipboard
class cSHAKE128(customisation: ByteArray? = null, functionName: ByteArray? = null) : Algorithm

cSHAKE with output size of 128 bits

Link copied to clipboard
class cSHAKE256(customisation: ByteArray? = null, functionName: ByteArray? = null) : Algorithm

cSHAKE with output size of 256 bits

Link copied to clipboard
data object CubeHash224 : Algorithm

CubeHash with output size of 224 bits

Link copied to clipboard
data object CubeHash256 : Algorithm

CubeHash with output size of 256 bits

Link copied to clipboard
data object CubeHash384 : Algorithm

CubeHash with output size of 384 bits

Link copied to clipboard
data object CubeHash512 : Algorithm

CubeHash with output size of 512 bits

Link copied to clipboard
data object ECHO224 : Algorithm

ECHO with output size 224 bits

Link copied to clipboard
data object ECHO256 : Algorithm

ECHO with output size 256 bits

Link copied to clipboard
data object ECHO384 : Algorithm

ECHO with output size 384 bits

Link copied to clipboard
data object ECHO512 : Algorithm

ECHO with output size 512 bits

Link copied to clipboard
open class FarmHash128 : Algorithm

FarmHash with output size of 128 bits

Link copied to clipboard
open class FarmHash32 : Algorithm

FarmHash with output size of 32 bits

Link copied to clipboard
open class FarmHash64 : Algorithm

FarmHash with output size of 64 bits

Link copied to clipboard
data object Fugue224 : Algorithm

Fugue with output size 224 bits

Link copied to clipboard
data object Fugue256 : Algorithm

Fugue with output size 256 bits

Link copied to clipboard
data object Fugue384 : Algorithm

Fugue with output size 384 bits

Link copied to clipboard
data object Fugue512 : Algorithm

Fugue with output size 512 bits

Link copied to clipboard

GOST R 34.11-2012 with output size 256 bits

Link copied to clipboard

GOST R 34.11-2012 with output size 512 bits

Link copied to clipboard

GOST R 34.11-94 with output size 256 bits

Link copied to clipboard
data object Groestl224 : Algorithm

Grøstl with output size 224 bits

Link copied to clipboard
data object Groestl256 : Algorithm

Grøstl with output size 256 bits

Link copied to clipboard
data object Groestl384 : Algorithm

Grøstl with output size 384 bits

Link copied to clipboard
data object Groestl512 : Algorithm

Grøstl with output size 512 bits

Link copied to clipboard
data object Hamsi224 : Algorithm

Hamsi with output size 224 bits

Link copied to clipboard
data object Hamsi256 : Algorithm

Hamsi with output size 256 bits

Link copied to clipboard
data object Hamsi384 : Algorithm

Hamsi with output size 384 bits

Link copied to clipboard
data object Hamsi512 : Algorithm

Hamsi with output size 512 bits

Link copied to clipboard
data object Haraka256_256 : Algorithm

Haraka v2 with output size 256 bits

Link copied to clipboard
data object Haraka512_256 : Algorithm

Haraka v2 with output size 256 bits

Link copied to clipboard
data object HAVAL_3_128 : Algorithm

HAVAL with 3 rounds and output size 128 bits

Link copied to clipboard
data object HAVAL_3_160 : Algorithm

HAVAL with 3 rounds and output size 160 bits

Link copied to clipboard
data object HAVAL_3_192 : Algorithm

HAVAL with 3 rounds and output size 192 bits

Link copied to clipboard
data object HAVAL_3_224 : Algorithm

HAVAL with 3 rounds and output size 224 bits

Link copied to clipboard
data object HAVAL_3_256 : Algorithm

HAVAL with 3 rounds and output size 256 bits

Link copied to clipboard
data object HAVAL_4_128 : Algorithm

HAVAL with 4 rounds and output size 128 bits

Link copied to clipboard
data object HAVAL_4_160 : Algorithm

HAVAL with 4 rounds and output size 160 bits

Link copied to clipboard
data object HAVAL_4_192 : Algorithm

HAVAL with 4 rounds and output size 192 bits

Link copied to clipboard
data object HAVAL_4_224 : Algorithm

HAVAL with 4 rounds and output size 224 bits

Link copied to clipboard
data object HAVAL_4_256 : Algorithm

HAVAL with 4 rounds and output size 256 bits

Link copied to clipboard
data object HAVAL_5_128 : Algorithm

HAVAL with 5 rounds and output size 128 bits

Link copied to clipboard
data object HAVAL_5_160 : Algorithm

HAVAL with 5 rounds and output size 160 bits

Link copied to clipboard
data object HAVAL_5_192 : Algorithm

HAVAL with 5 rounds and output size 192 bits

Link copied to clipboard
data object HAVAL_5_224 : Algorithm

HAVAL with 5 rounds and output size 224 bits

Link copied to clipboard
data object HAVAL_5_256 : Algorithm

HAVAL with 5 rounds and output size 256 bits

Link copied to clipboard

HighwayHash with output size 128 bits

Link copied to clipboard

HighwayHash with output size 256 bits

Link copied to clipboard

HighwayHash with output size 64 bits

Link copied to clipboard
data object JH224 : Algorithm

JH with output size 224 bits

Link copied to clipboard
data object JH256 : Algorithm

JH with output size 256 bits

Link copied to clipboard
data object JH384 : Algorithm

JH with output size 384 bits

Link copied to clipboard
data object JH512 : Algorithm

JH with output size 512 bits

Link copied to clipboard

Keccak without output size 224 bits

Link copied to clipboard

Keccak without output size 256 bits

Link copied to clipboard

Keccak without output size 288 bits

Link copied to clipboard

Keccak without output size 384 bits

Link copied to clipboard

Keccak without output size 512 bits

Link copied to clipboard
data object Kupyna_256 : Algorithm

Kupyna (aka DSTU7564) with output size 256 bits

Link copied to clipboard
data object Kupyna_384 : Algorithm

Kupyna (aka DSTU7564) with output size 384 bits

Link copied to clipboard
data object Kupyna_512 : Algorithm

Kupyna (aka DSTU7564) with output size 512 bits

Link copied to clipboard
data object Luffa224 : Algorithm

Luffa with output size of 224 bits

Link copied to clipboard
data object Luffa256 : Algorithm

Luffa with output size of 256 bits

Link copied to clipboard
data object Luffa384 : Algorithm

Luffa with output size of 384 bits

Link copied to clipboard
data object Luffa512 : Algorithm

Luffa with output size of 512 bits

Link copied to clipboard
object MD2 : Algorithm, Hmac

MD2 with output size of 128 bits

Link copied to clipboard
object MD4 : Algorithm, Hmac

MD4 with output size of 128 bits

Link copied to clipboard
object MD5 : Algorithm, Hmac

MD5 with output size of 128 bits

Link copied to clipboard
data class MetroHash128(val seed: ULong) : Algorithm

MetroHash with output size of 128 bits

Link copied to clipboard
data class MetroHash64(val seed: ULong) : Algorithm

MetroHash with output size of 64 bits

Link copied to clipboard
data class MurmurHash1(val seed: UInt) : Algorithm

MurmurHash1 for x86 platform with output size of 32 bits

Link copied to clipboard
data class MurmurHash2(val seed: UInt) : Algorithm

MurmurHash2 for x86 platform with output size of 32 bits The algorithm is non-incremental in nature so calling update adds the data to an internal buffer.

Link copied to clipboard
data class MurmurHash2A(val seed: UInt) : Algorithm

MurmurHash2A for x86 platform with output size of 32 bits

Link copied to clipboard
data class MurmurHash3_X64_128(val seed: UInt) : Algorithm

MurmurHash3 for x64 platform with output size of 128 bits

Link copied to clipboard
data class MurmurHash3_X86_128(val seed: UInt) : Algorithm

MurmurHash3 for x86 platform with output size of 128 bits

Link copied to clipboard
data class MurmurHash3_X86_32(val seed: UInt) : Algorithm

MurmurHash3 for x86 platform with output size of 32 bits

Link copied to clipboard
data class MurmurHash64A(val seed: ULong) : Algorithm

MurmurHash64A for x64 platform with output size of 64 bits The algorithm is non-incremental in nature so calling update adds the data to an internal buffer.

Link copied to clipboard
data class MurmurHash64B(val seed: ULong) : Algorithm

MurmurHash64B for x86 platform with output size of 64 bits The algorithm is non-incremental in nature so calling update adds the data to an internal buffer.

Link copied to clipboard
data object PANAMA : Algorithm

Panama with output size of 256 bits

Link copied to clipboard
data object RadioGatun32 : Algorithm

RadioGatún with 32-bit word width and output size of 256 bits

Link copied to clipboard
data object RadioGatun64 : Algorithm

RadioGatún with 64-bit word width and output size of 256 bits

Link copied to clipboard
data object RipeMD : Algorithm

Original RipeMD with output size of 128 bits

Link copied to clipboard

Strengthened RipeMD with output size of 128 bits

Link copied to clipboard

Strengthened RipeMD with output size of 160 bits

Link copied to clipboard

Strengthened RipeMD with output size of 256 bits

Link copied to clipboard

Strengthened RipeMD with output size of 320 bits

Link copied to clipboard

SHA-3 with output size of 224 bits

Link copied to clipboard

SHA-3 with output size of 256 bits

Link copied to clipboard

SHA-3 with output size of 384 bits

Link copied to clipboard

SHA-3 with output size of 512 bits

Link copied to clipboard
object SHA_0 : Algorithm, Hmac

SHA-0 with output size of 160 bits

Link copied to clipboard
object SHA_1 : Algorithm, Hmac

SHA-1 with output size of 160 bits

Link copied to clipboard

SHA-2 with output size of 224 bits

Link copied to clipboard

SHA-2 with output size of 256 bits

Link copied to clipboard

SHA-2 with output size of 384 bits

Link copied to clipboard

SHA-2 with output size of 512 bits

Link copied to clipboard

SHA-2 with output size of 224 bits

Link copied to clipboard

SHA-2 with output size of 256 bits

Link copied to clipboard
data object Shabal192 : Algorithm

Shabal with output size of 192 bits

Link copied to clipboard
data object Shabal224 : Algorithm

Shabal with output size of 224 bits

Link copied to clipboard
data object Shabal256 : Algorithm

Shabal with output size of 256 bits

Link copied to clipboard
data object Shabal384 : Algorithm

Shabal with output size of 384 bits

Link copied to clipboard
data object Shabal512 : Algorithm

Shabal with output size of 512 bits

Link copied to clipboard
data object SHAKE128 : Algorithm

SHAKE with output size of 128 bits

Link copied to clipboard
data object SHAKE256 : Algorithm

SHAKE with output size of 256 bits

Link copied to clipboard
data object SHAvite224 : Algorithm

SHAvite-3 with output size of 224 bits

Link copied to clipboard
data object SHAvite256 : Algorithm

SHAvite-3 with output size of 256 bits

Link copied to clipboard
data object SHAvite384 : Algorithm

SHAvite-3 with output size of 384 bits

Link copied to clipboard
data object SHAvite512 : Algorithm

SHAvite-3 with output size of 512 bits

Link copied to clipboard
data object SIMD224 : Algorithm

SIMD with output size of 224 bits

Link copied to clipboard
data object SIMD256 : Algorithm

SIMD with output size of 256 bits

Link copied to clipboard
data object SIMD384 : Algorithm

SIMD with output size of 384 bits

Link copied to clipboard
data object SIMD512 : Algorithm

SIMD with output size of 512 bits

Link copied to clipboard
open class Skein(blockSizeBits: Int, outputSizeBits: Int) : Algorithm

Skein with internal state of blockSizeBits bits and output size of outputSizeBits bits

Link copied to clipboard

Skein with internal state of 1024 bits and output size of 1024 bits

Link copied to clipboard

Skein with internal state of 1024 bits and output size of 384 bits

Link copied to clipboard

Skein with internal state of 1024 bits and output size of 512 bits

Link copied to clipboard

Skein with internal state of 256 bits and output size of 128 bits

Link copied to clipboard

Skein with internal state of 256 bits and output size of 160 bits

Link copied to clipboard

Skein with internal state of 256 bits and output size of 224 bits

Link copied to clipboard

Skein with internal state of 256 bits and output size of 256 bits

Link copied to clipboard

Skein with internal state of 512 bits and output size of 128 bits

Link copied to clipboard

Skein with internal state of 512 bits and output size of 160 bits

Link copied to clipboard

Skein with internal state of 512 bits and output size of 224 bits

Link copied to clipboard

Skein with internal state of 512 bits and output size of 256 bits

Link copied to clipboard

Skein with internal state of 512 bits and output size of 384 bits

Link copied to clipboard

Skein with internal state of 512 bits and output size of 512 bits

Link copied to clipboard
object SM3 : Algorithm, Hmac

SM3 with output size of 256 bits

Link copied to clipboard
class T1ha0_32le(seed: ULong) : Algorithm

t1ha0-32le with output size of 64 bits

Link copied to clipboard
class T1ha1_le(seed: ULong) : Algorithm

t1ha1-le with output size of 64 bits

Link copied to clipboard

t1ha2-atonce with output size of 64 bits

Link copied to clipboard

t1ha2-atonce128 with output size of 128 bits

Link copied to clipboard
class T1ha2_Stream(seedX: ULong, seedY: ULong = seedX) : Algorithm

t1ha2-stream with output size of 64 bits

Link copied to clipboard
class T1ha2_Stream128(seedX: ULong, seedY: ULong = seedX) : Algorithm

t1ha2-stream128 with output size of 128 bits

Link copied to clipboard
object Tiger : Algorithm, Hmac

Tiger with output size of 192 bits

Link copied to clipboard
data object Tiger2 : Algorithm

Tiger2 with output size of 192 bits

Link copied to clipboard

Latest version of Whirlpool with output size of 512 bits

Link copied to clipboard
data object Whirlpool0 : Algorithm

Original version of Whirlpool with output size of 512 bits

Link copied to clipboard
data object WhirlpoolT : Algorithm

First version of Whirlpool with output size of 512 bits

Link copied to clipboard
class Wyhash(seed: ULong, secret: List<ULong> = wyp, extraProtection: Boolean = false) : Algorithm

wyhash with output size of 64 bits

Link copied to clipboard
class Wyhash32(seed: UInt) : Algorithm

wyhash with output size of 32 bits

Link copied to clipboard
open class XXH3_128 : Algorithm

xxHash3 with output size of 128 bits

Link copied to clipboard
open class XXH3_64 : Algorithm

xxHash3 with output size of 64 bits

Link copied to clipboard
data class XXHash32(val seed: Int = 0) : Algorithm

xxHash with output size of 32 bits

Link copied to clipboard
data class XXHash64(val seed: Long = 0) : Algorithm

xxHash with output size of 64 bits

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Create a Digest of the Algorithm for creating hashes

Link copied to clipboard
fun hash(input: ByteArray): ByteArray

Create a hash of input using the Algorithm