Module
Module documentation.
modulecrypto.sha256
Classes
Classes and inheritance.
Functions
Free functions and class methods.
functioncrypto.sha256::__sha256_sum_hex
Signature
extern func __sha256_sum_hex(s: String) -> String;extern func __sha256_sum_hex(s: String) -> String;
/*@briefBinds the low-level runtime symbol `__sha256_sum_hex`.
@detailsThis function is an external entry point used by system modules to access native runtime capabilities such as filesystem, networking, threading, GC, cryptography, or platform operations. Prefer the safe wrapper functions in the same file when available. When calling this entry directly, pass validated arguments that match the signature and handle failures according to the return-value convention.
@param
- sInput string.
@returnReturns the operation result as `String`.
functioncrypto.sha256::sum_hex
Signature
func sum_hex(s: String) -> Stringfunc sum_hex(s: String) -> String {
return __sha256_sum_hex(s);
}@briefProvides the system library operation `sum_hex`.
@detailsExecutes the `sum_hex` system-library API. The documented parameters define the accepted inputs, ownership requirements, range limits, and timeout behavior for this call. Callers must check returned `ErrCode` values or boolean status values before using the result.
@param
- sInput string.
@returnReturns the operation result as `String`.
Variables
Class fields (var).