diff options
author | Andi Shyti <andi@etezian.org> | 2012-09-03 23:09:01 +0200 |
---|---|---|
committer | Andi Shyti <andi@etezian.org> | 2012-09-03 23:09:01 +0200 |
commit | 2ed56f94b88114f2d7158bc1064fa42795ed3b34 (patch) | |
tree | 43a0784f9d54934d8daee6f18ae98e04d6ad12a5 /src | |
parent | 54d806c7bbb6a280a62462153fd439f2f99ceb3c (diff) |
accman: added function get password
the get_passwd function performs the following operations:
- gets the password
- checks if the lenght is greater than 64 or lower than 8, if
so, fails
- asks for the confirmation
- encrypts it in SHA256
- returns the encrypted password
Signed-off-by: Andi Shyti <andi@etezian.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions