Sha256

@Serializable
value class Sha256(val hash: HashCode)(source)

表示一个 32 字节的 SHA-256 哈希值。

Constructors

Link copied to clipboard
constructor(hash: HashCode)
constructor(hex: String)
constructor(bytes: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
@Serializable(with = HashCodeSerializer::class)
val hash: HashCode

Functions

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