Documentation
¶
Overview ¶
Package util provides misc utility functions for gophish
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAndCreateSSL ¶ added in v0.3.0
CheckAndCreateSSL is a helper to setup self-signed certificates for the administrative interface.
func GenerateSecureKey ¶ added in v0.8.0
func GenerateSecureKey() string
GenerateSecureKey creates a secure key to use as an API key
func NewHash ¶ added in v0.8.0
NewHash hashes the provided password and returns the bcrypt hash (using the default 10 rounds) as a string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.