%% The one thing ocda-lib asks of Erlang directly: a sha256, which OTP's %% crypto has and the Gleam standard library does not. Upper case hex, as %% the database stores it and the D library writes it. -module(ocda_ffi). -export([sha256_hex/1]). sha256_hex(Bin) -> binary:encode_hex(crypto:hash(sha256, Bin)).