tuweni / org.apache.tuweni.crypto.sodium / Concatenate / add

add

fun add(hash: Hash!): Concatenate! (source)

Adds a hash to the elements to concatenate.

Parameters

hash - Hash!: a generic hash

Return
Concatenate!: the Concatenate instance

fun add(hash: Hash!): Concatenate! (source)

Adds a hash to the elements to concatenate.

Parameters

hash - Hash!: a generic hash

Return
Concatenate!: the Concatenate instance

fun add(key: Key!): Concatenate! (source)

Adds a HMAC key to the elements to concatenate.

Parameters

key - Key!: a HMAC key

Return
Concatenate!: the Concatenate instance

fun add(allocated: Allocated!): Concatenate! (source)

Adds a memory allocated value to the elements to concatenate.

Parameters

allocated - Allocated!: a memory allocated value

Return
Concatenate!: the Concatenate instance

fun add(key: Secret!): Concatenate! (source)

Adds a key to the elements to concatenate.

Parameters

key - Secret!: a Diffie-Helman key

Return
Concatenate!: the Concatenate instance

fun add(key: PublicKey!): Concatenate! (source)

Adds a public key to the elements to concatenate.

Parameters

key - PublicKey!: a public key

Return
Concatenate!: the Concatenate instance

fun add(key: PublicKey!): Concatenate! (source)

Adds a public key to the elements to concatenate.

Parameters

key - PublicKey!: a public key

Return
Concatenate!: the Concatenate instance

fun add(key: SecretKey!): Concatenate! (source)

Adds a key to the elements to concatenate.

Parameters

key - SecretKey!: a secret key

Return
Concatenate!: the Concatenate instance

fun add(key: SecretKey!): Concatenate! (source)

Adds a key to the elements to concatenate.

Parameters

key - SecretKey!: a secret key

Return
Concatenate!: the Concatenate instance