NAME
Crypt::Passphrase::Linux - An linux crypt encoder for Crypt::Passphrase
VERSION
version 0.004
SYNOPSIS
my $passphrase = Crypt::Passphrase->new(encoder => {
module => 'Linux',
type => 'sha512',
rounds => 656_000,
});
DESCRIPTION
This class implements a Crypt::Passphrase encoder compatible with Linux' crypt. This is useful when needing to specifically support the sha256 and sha512 password types.
ARGUMENTS
type
This choses the crypt type. It supports the following crypt types:
sha512(default),sha256,md5,apache_md5anddes.rounds
The number of rounds using by the crypt implementation. This defaults to
656000, but may change at any time in the future. It is ignored fordes.
AUTHOR
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2023 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.