func Encode(pwLen int, hex bool) string {
	var enc *Encoding
	var err error
	if hex {
		enc, err = NewEncoding(dictHex)
	} else {
		enc, err = NewEncoding(dictionaryX)
	}
	if err != nil {
		fmt.Println(err)
		memguard.SafeExit(2)
	}

	return enc.Encode(pwLen)
}
// Encode is a wrapper to encode slice b given the dictionaryX constant
Encode is a wrapper to encode slice b given the dictionaryX constant
// Encode is a wrapper to encode slice b given the dictionaryX constant
func Encode(pwLen int, hex bool) string {
	var enc *Encoding
	var err error
	if hex {
		enc, err = NewEncoding(dictHex)
	} else {
		enc, err = NewEncoding(dictionaryX)
	}
	if err != nil {
		fmt.Println(err)
		memguard.SafeExit(2)
	}
	return enc.Encode(pwLen)
}
func Encode ( pwLen int , hex bool ) string { var enc * Encoding var err error if hex { enc , err = NewEncoding ( dictHex ) } else { enc , err = NewEncoding ( dictionaryX ) } if err != nil { fmt . Println ( err ) memguard . SafeExit ( 2 ) } return enc . Encode ( pwLen ) }
Encode is a wrapper to encode slice b given the dictionaryX constant
Encode is a wrapper to encode slice b given the dictionaryX constant