Skip to content

SshHash

[Source]

primitive val SshHash

Constructors

create

[Source]

new val create()
: SshHash val^

Returns


Public Functions

sha256

[Source]

Compute SHA-256 of data using OpenSSL EVP_Digest. Errors on any OpenSSL failure rather than returning an empty hash — a silently-empty hash would become an empty session id and zero-derived keys.

fun box sha256(
  data: Array[U8 val] val)
: Array[U8 val] val ?

Parameters

Returns


eq

[Source]

fun box eq(
  that: SshHash val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SshHash val)
: Bool val

Parameters

Returns