Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KEYLEN is how many bytes to generate as output. KEYLEN = 32 // COST is the iterations count (affects memory and CPU usage). // Minimum for interactive login: 16384. // Ideal for file encryption: 1048576. COST = 32768 // ROUNDS is the block size (affects memory and CPU usage). ROUNDS = 8 // PARALLELISM is the parallelism factor (threads to run in parallel - affects the memory, CPU usage). PARALLELISM = 1 // SALT_LENGTH is the default salth length in bytes. SALT_LENGTH = 16 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.