ascii_to_unicode/1 | turn a plain text password (either binary or list representation) into UTF-16 binary representation. |
challenge_response/2 | calculate MS-CHAP challenge response. |
challenge_response/2 | calculate MS-CHAP challenge response. |
chap/3 | CHAP authentication. |
check_password/2 | check the request password using all available authentication mechanisms. |
des_key_from_hash/1 | |
mppe_generate_session_keys/3 | |
mppe_get_asymetric_send_start_key/2 | calculate first MPPE send key. |
mppe_get_master_key/2 | calculate MPPE master key. |
ms_chap/3 | MS-CHAP authentication. |
ms_chap_v2/4 | MS-CHAP-V2 authentication. |
nt_hash/1 | calculte MD4 hash for value. |
nt_password_hash/1 | calculate the MD4 hash of a plain text password the NT way. |
pap/2 | PAP authentication. |
v2_generate_authenticator_response/5 | |
v2_generate_nt_response/4 | generate MS-CHAP NT-Response. |
ascii_to_unicode(Bin) -> any()
turn a plain text password (either binary or list representation) into UTF-16 binary representation.
challenge_response(Challenge, PasswdHash) -> any()
calculate MS-CHAP challenge response
challenge_response(Challenge, PasswdHash) -> any()
calculate MS-CHAP challenge response
chap(Passwd::binary(), X2::binary(), ChapChallenge::binary()) -> boolean()
CHAP authentication
check_password(Password::binary(), Radius_request::#radius_request{}) -> false | {boolean(), eradius_lib:attribute_list()}
check the request password using all available authentication mechanisms. Tries CHAP, then MS-CHAP, then MS-CHAPv2, finally PAP.
des_key_from_hash(Hash) -> any()
mppe_generate_session_keys(PasswdHash, NTResponse, SessionKeyStrength) -> any()
mppe_get_asymetric_send_start_key(MasterKey, SessionKeyLength) -> any()
calculate first MPPE send key
mppe_get_master_key(PasswordHashHash, NTResponse) -> any()
calculate MPPE master key
ms_chap(Passwd::binary(), Challenge::binary(), X3::binary()) -> false | {true, eradius_lib:attribute_list()}
MS-CHAP authentication
ms_chap_v2(UserName::binary(), Passwd::binary(), AuthenticatorChallenge::binary(), X4::binary()) -> false | {true, eradius_lib:attribute_list()}
MS-CHAP-V2 authentication
nt_hash(Value) -> any()
calculte MD4 hash for value
nt_password_hash(Passwd) -> any()
calculate the MD4 hash of a plain text password the NT way
pap(X1::binary(), X2::binary()) -> boolean()
PAP authentication
v2_generate_authenticator_response(PasswdHash, NTResponse, PeerChallenge, AuthenticatorChallenge, UserName) -> any()
v2_generate_nt_response(AuthenticatorChallenge, PeerChallenge, UserName, PasswdHash) -> any()
generate MS-CHAP NT-Response
Generated by EDoc