Documentation
¶
Index ¶
Constants ¶
View Source
const ( RAND_NUMBERS = "0123456789" RAND_UPPER_CASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" RAND_LOWER_CASE = "abcdefghijklmnopqrstuvwxyz" SYSTEM_SALT = "cWNZhnAiHeO8Y6UFW2HKor5WE6vbq8SC" PASSWORD_HASH_ITERATIONS = 1000 SESSION_HASH_ITERATIONS = 10 )
This file contains the hashing and random string genration functions, this should be analyzed for security.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomString ¶
Generates a random string of inputed length
func GenerateSessionID ¶
Generate a random number for session ID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.