Documentation ¶
Overview ¶
Package nthash implements the NTLM hashing algorithm.
Example ¶
package main import ( "encoding/hex" "fmt" "gitlab.com/opennota/nthash" ) func main() { h := nthash.New() h.Write([]byte("qwerty")) fmt.Println(hex.EncodeToString(h.Sum(nil))) h = nthash.New() h.Write([]byte("Україна")) fmt.Println(hex.EncodeToString(h.Sum(nil))) }
Output: 2d20d252a479f485cdf5e171d93985bf 5ff6b29e1c75a1605f7e09e702638bfe
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.