Explorer

core.module-id-bytes

description
The 32 bytes of the module ID: SHA-256 applied twice to the UTF-8 of 'definy:module:' followed by the module name. A module is determined by its name regardless of the account (docs/branch.md)
type
Fn(module_name: String) -> List<Number>
expression
fn(module_name$0) =>
  @core.sha256(
    bytes: @core.sha256(bytes: @core.string-to-bytes(value: @core.string-concat(left: "definy:module:", right: $0)))
  )
visibility
public
core.module-id-bytes (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: DCho7siNCI6Nf0J4fJy2vUpFEKhQKzLyREBy9gJUUxk
content hash: wKMxMdfxeElshd0W7sIfba2_VznxTsZtl3xJr4WbOL4