Module mc_utils

.

Copyright © (C) 2014, <COMPANY>

Authors: tihon.

Description

Function Index

get_value/2
get_value/3
is_proplist/1
encode_name/1
random_nonce/1
value_to_binary/1
get_timeout/0
hmac/2
pw_key/3
pw_hash/2
to_binary/1
get_srv_seeds/1

Function Details

get_value/2

get_value(Key, List) -> any()

get_value/3

get_value(Key, List, Default) -> any()

is_proplist/1

is_proplist(List::list() | any()) -> boolean()

encode_name/1

encode_name(Name::binary()) -> binary()

random_nonce/1

random_nonce(TextLength::integer()) -> binary()

value_to_binary/1

value_to_binary(Value) -> any()

get_timeout/0

get_timeout() -> any()

hmac/2

hmac(One, Two) -> any()

pw_key/3

pw_key(Nonce, Username, Password) -> any()

pw_hash/2

pw_hash(Username, Password) -> any()

to_binary/1

to_binary(Str::string() | binary()) -> binary()

get_srv_seeds/1

get_srv_seeds(Host::string() | binary()) -> {ok, [{Host::string(), Port::inet:port_number()}]} | {error, srv_lookup_failed | srv_insecure_endpoints}


Generated by EDoc