package argon2 // Algorithm type Algorithm struct { keyLen uint32 memory uint32 saltLen uint32 threads uint8 time uint32 } // New func New(keyLen uint32, memory uint32, saltLen uint32, threads uint8, time uint32) Algorithm { // Return Algorithm return Algorithm{ keyLen: keyLen, memory: memory, saltLen: saltLen, threads: threads, time: time, } }