This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
- B(sha256.New(), passwd, salt, int(s)%16+1, int(t)%16+1)
+ B(sha512.New(), passwd, salt, uint64(s)%16+1, uint64(t)%16+1)
- H(sha256.New, passwd, salt, int(s)%16+1, int(t)%16+1, int(p)%8+1)
+ H(sha512.New, passwd, salt, int(s)%16+1, int(t)%16+1, int(p)%8+1)
- B(sha256.New(), passwd, salt, 1<<10/sha256.New().Size(), 4)
+ B(h, passwd, salt, sCost, 4)
- H(sha256.New, passwd, salt, 1<<10/sha256.New().Size(), 4, 4)
+ H(sha512.New, passwd, salt, sCost, 4, 4)