Documentation ¶
Index ¶
Constants ¶
View Source
const ( MD5 = "MD5" SHA1 = "SHA1" SHA256 = "SHA256" SHA384 = "SHA384" SHA512 = "SHA512" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashFunction ¶
func (HashFunction) Apply ¶
func (hf HashFunction) Apply(plaintext string) []byte
type HashFunctionProvider ¶
type HashFunctionProvider struct {
// contains filtered or unexported fields
}
func GetHashFunctionProvider ¶
func GetHashFunctionProvider(hashFunctionName string) (HashFunctionProvider, error)
func (HashFunctionProvider) NewHashFunction ¶
func (provider HashFunctionProvider) NewHashFunction() HashFunction
type RandomStringGenerator ¶
type RandomStringGenerator struct {
// contains filtered or unexported fields
}
func NewRandomStringGenerator ¶
func NewRandomStringGenerator(seed int) *RandomStringGenerator
func (*RandomStringGenerator) NewRandomString ¶
func (rsg *RandomStringGenerator) NewRandomString(characterSet string, stringLength int64) string
type TableGenerateJobConfig ¶
type TableGeneratorJobService ¶
type TableGeneratorJobService struct {
// contains filtered or unexported fields
}
func NewRainbowTableGeneratorJobService ¶
func NewRainbowTableGeneratorJobService( jobConfig TableGenerateJobConfig, rainbowChainService dao.RainbowChainService, rainbowTableService dao.RainbowTableService, chainGenerationSummary *prometheus.SummaryVec, chainWriteSummary *prometheus.SummaryVec, chainsCreatedCounter *prometheus.CounterVec, ) *TableGeneratorJobService
func (*TableGeneratorJobService) RunGenerateJobForTable ¶
func (service *TableGeneratorJobService) RunGenerateJobForTable(rainbowTableId int16) error
type TableSearchJobConfig ¶
type TableSearchJobService ¶
type TableSearchJobService struct {
// contains filtered or unexported fields
}
func NewRainbowTableSearchJobService ¶
func NewRainbowTableSearchJobService( jobConfig TableSearchJobConfig, rainbowChainService dao.RainbowChainService, rainbowTableService dao.RainbowTableService, rainbowTableSearchService dao.RainbowTableSearchService, ) *TableSearchJobService
func (*TableSearchJobService) RunSearchJob ¶
func (service *TableSearchJobService) RunSearchJob(searchId int64) error
Click to show internal directories.
Click to hide internal directories.