mirage / digestif

Simple hash algorithms in OCaml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bound check

dinosaure opened this issue · comments

See @cfcs comment on #70

This leads to undefined behavior if off or len are out of bounds.
I think that's fine for the unsafe_feed_bigstring interface, but I am a bit skeptical about the lack of length validation in feed_bigstring.