Sha256Linux

class Sha256Linux : Digest

Constructors

Link copied to clipboard
fun Sha256Linux()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun doFinal(out: ByteArray, outOffset: Int): Int

close the digest, producing the final digest value. The doFinal call leaves the digest reset.

Link copied to clipboard
open override fun getAlgorithmName(): String

return the algorithm name

Link copied to clipboard
open override fun getDigestSize(): Int

return the size, in bytes, of the digest produced by this message digest.

Link copied to clipboard
open fun hash(input: ByteArray): ByteArray
open fun hash(    input: ByteArray,     inputOffset: Int,     len: Int): ByteArray
Link copied to clipboard
open override fun reset()

reset the chaining variables

Link copied to clipboard
open override fun update(input: Byte)

update the message digest with a single byte.

open override fun update(    input: ByteArray,     inputOffset: Int,     len: Int)

update the message digest with a block of bytes.