Documentation ¶
Index ¶
- Constants
- func DeleteRuneAt(runes []rune, i int) []rune
- func GetBase(password string) int
- func GetLength(password string) int
- func GetReversedString(s string) string
- func LogPow(expBase float64, pow int, logBase float64) float64
- func LogX(base, n float64) float64
- func RemoveMoreThanTwoFromSequence(s, seq string) string
- func RemoveMoreThanTwoRepeatingChars(s string) string
Constants ¶
View Source
const ( ReplaceChars = `!@$&*` SepChars = `_-., ` OtherSpecialChars = `"#%'()+/:;<=>?[\]^{|}~` LowerChars = `abcdefghijklmnopqrstuvwxyz` UpperChars = `ABCDEFGHIJKLMNOPQRSTUVWXYZ` DigitsChars = `0123456789` )
View Source
const ( SeqNums = "0123456789" SeqKeyboard0 = "qwertyuiop" SeqKeyboard1 = "asdfghjkl" SeqKeyboard2 = "zxcvbnm" SeqAlphabet = "abcdefghijklmnopqrstuvwxyz" )
Variables ¶
This section is empty.
Functions ¶
func DeleteRuneAt ¶
func GetReversedString ¶
func LogPow ¶
LogPow calculates log_base(x^y) without leaving logspace for each multiplication step this makes it take less space in memory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.