From 425da65ed46061303604610bb539d6495b2b1f3f Mon Sep 17 00:00:00 2001 From: anon5 Date: Mon, 21 Jun 2021 18:47:26 +0000 Subject: Add high-level protocol (de)serialization --- auth.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 auth.go (limited to 'auth.go') diff --git a/auth.go b/auth.go new file mode 100644 index 0000000..5c2df14 --- /dev/null +++ b/auth.go @@ -0,0 +1,9 @@ +package mt + +type AuthMethods uint32 + +const ( + LegacyPasswd AuthMethods = 1 << iota + SRP + FirstSRP +) -- cgit v1.2.3