core.sha256-padded
- description
- The message padded to a multiple of 64 bytes (0x80, zeros, and the bit length in 8 bytes)
- type
Fn(bytes: List<Number>) -> List<Number>
- expression
fn(bytes$0) => let length$1 = @core.list-length(value: $0); @core.list-concat( left: $0, right: @core.list-concat( left: [128], right: @core.list-concat( left: @core.zero-bytes( count: @core.remainder(left: @core.minus(left: 119, right: @core.remainder(left: $1, right: 64)), right: 64) ), right: @core.uint64-to-bytes(value: @core.multiply(left: $1, right: 8)) ) ) )
- visibility
- public
core.sha256-padded (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44) id: TarCfDkNdULRFvLYEFKpsuwXlrJCtaEYELfpidOGM4Y content hash: a4ql9cUoiYglenGMna9cazxJRyHAK8pWBOfvxjVZSTw