Encoding scheme for API identifiers and byte arrays
add_check_bytes(Bin) when is_binary(Bin) ->
<<Check:4/binary, _/binary>> = sha256(sha256(Binary)),
<<Bin/binary, Check/binary>>.Prefix
Encoding
Description
Last updated
Was this helpful?
add_check_bytes(Bin) when is_binary(Bin) ->
<<Check:4/binary, _/binary>> = sha256(sha256(Binary)),
<<Bin/binary, Check/binary>>.Last updated
Was this helpful?
Was this helpful?