View Source Slip39.Utils (slip39 v0.1.0)

Summary

Functions

Round up bit count to whole bytes.

Return a random share definition. This is mainly used for testing.

Functions

Round up bit count to whole bytes.

Link to this function

chunk_bits(bitstring, n)

View Source
Link to this function

enum_to_indexed_map(enum)

View Source
Link to this function

is_string_only_ascii(string)

View Source
Link to this function

nearest_upper_multiple(n, multiple)

View Source
@spec nearest_upper_multiple(integer(), integer()) :: integer()

Return a random share definition. This is mainly used for testing.

@spec rnd_bytes(integer()) :: binary()