Documentation ¶ Index ¶ func VerifyEncoded(e Encoded, target string) (bool, error) type Encoded func CreateEncoded(password string) (Encoded, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func VerifyEncoded ¶ func VerifyEncoded(e Encoded, target string) (bool, error) Types ¶ type Encoded ¶ type Encoded struct { // Hash will be converted to Base64 by json.Marshal Hash []byte `json:"h"` // Salt will be converted to Base64 by json.Marshal Salt []byte `json:"s"` Time uint32 `json:"t"` Memory uint32 `json:"m"` KeyLen uint32 `json:"k"` } func CreateEncoded ¶ func CreateEncoded(password string) (Encoded, error) Source Files ¶ View all Source files hash.go Click to show internal directories. Click to hide internal directories.