Gets the hexdigest of the bytes of self

assert "<STRING/&rt;".hexdigest == "266C743B535452494E47262334373B2672743B"

Property definitions

core :: bytes $ Text :: hexdigest
	# Gets the hexdigest of the bytes of `self`
	#
	#     assert "<STRING/&rt;".hexdigest == "266C743B535452494E47262334373B2672743B"
	fun hexdigest: String do
		var ln = byte_length
		var outns = new CString(ln * 2)
		var oi = 0
		for i in [0 .. ln[ do
			bytes[i].add_digest_at(outns, oi)
			oi += 2
		end
		return new FlatString.with_infos(outns, ln * 2, 0)
	end
lib/core/bytes.nit:879,2--891,4