https://issues.dlang.org/show_bug.cgi?id=15932
--- Comment #6 from anonymous4 <[email protected]> --- AIU this issue is inspired by std.digest design. You can always have error prone interface and if std.digest is too error prone for intended users, it's just wrong design and should have a safer interface: either take the result storage as an argument or return a heap allocated array or return a value type that will require explicit slicing. --
