aboutsummaryrefslogtreecommitdiff
path: root/ssha.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-01-19 13:00:53 +0100
committerAlex Auvolat <alex@adnab.me>2020-01-19 13:00:53 +0100
commit67fa504e20095d9acd5537b46f604ce8baa4e44a (patch)
treedcbe95bfdcd71a2d0307ea7214017c3632f44f8f /ssha.go
parentbade33cf1529893a92a283f6dc86e73f8766049e (diff)
downloadbottin-67fa504e20095d9acd5537b46f604ce8baa4e44a.tar.gz
bottin-67fa504e20095d9acd5537b46f604ce8baa4e44a.zip
Add ldapserver source in here & add support for client state
Diffstat (limited to 'ssha.go')
-rw-r--r--ssha.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssha.go b/ssha.go
index 203b994..f1c5a8b 100644
--- a/ssha.go
+++ b/ssha.go
@@ -1,11 +1,11 @@
package main
import (
- "fmt"
"bytes"
- "math/rand"
- "encoding/base64"
"crypto/sha1"
+ "encoding/base64"
+ "fmt"
+ "math/rand"
)
// Encode encodes the []byte of raw password