class EL_SHA_256

(source code)

description

Sha 256

note
	description: "Sha 256"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2024-08-25 7:38:00 GMT (Sunday 25th August 2024)"
	revision: "9"

class
	EL_SHA_256

inherit
	SHA256
		rename
			sink_string as sink_raw_string_8,
			sink_character as sink_raw_character_8,
			sink_special as sink_special_reversed,
			sink_special_lsb as sink_special
		redefine
			reset
		end

	EL_DATA_SINKABLE
		rename
			sink_natural_32 as sink_natural_32_be
		end

create
	make

feature -- Measurement

	Byte_width: INTEGER = 32

feature -- Element change

	reset
		do
			Precursor
			byte_count := 0
		end
end