Module leec_utils

This module concentrates utilities transverse to LEEC.

Description

This module concentrates utilities transverse to LEEC.

Data Types

any_string()

any_string() = text_utils:any_string()

binary_b64()

binary_b64() = leec:binary_b64()

parser_state()

parser_state() = json_utils:parser_state()

three_digit_version()

three_digit_version() = basic_utils:three_digit_version()

ustring()

ustring() = text_utils:ustring()

Function Index

b64encode/1Encodes the specified content in b64.
get_leec_version/0Returns the version of the LEEC library being used.
get_leec_version_string/0Returns the version of the LEEC library being used, as a string.
hashdigest/2Returns the SHA256 hexadecimal digest of the specified content.
hexdigest/1Returns the hex digest of the specified string argument.
jsonb64encode/2Encodes the specified content first in JSON, then in b64.

Function Details

b64encode/1

b64encode(X::any_string()) -> binary_b64()

Encodes the specified content in b64.

get_leec_version/0

get_leec_version() -> three_digit_version()

Returns the version of the LEEC library being used.

get_leec_version_string/0

get_leec_version_string() -> ustring()

Returns the version of the LEEC library being used, as a string.

hashdigest/2

hashdigest(X1::sha256, Content::binary()) -> binary()

Returns the SHA256 hexadecimal digest of the specified content.

hexdigest/1

hexdigest(X::any_string()) -> binary()

Returns the hex digest of the specified string argument.

jsonb64encode/2

jsonb64encode(X::map(), ParserState::parser_state()) -> binary_b64()

Encodes the specified content first in JSON, then in b64.


Generated by EDoc