abla/crypto/result

Generated from source.

Import with import "abla/crypto/result".

Source: abla/crypto/result/entry.ab

CryptoResult (class)

class CryptoResult(val bytes: string, val ok: bool, val error: string)

Carries the output bytes and success flag of a cryptographic operation, with error text on failure.

cryptoFailed (fun)

fun cryptoFailed(error: string): CryptoResult

Returns a failed cryptographic result with empty bytes and the supplied error.

Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.