NAME
Types::Digest - digests types for Moose and Moo
SYNOPSIS
package Foo;
use Moose;
use Types::Digest qw/Sha256/;
has md5 => (
is => 'ro',
isa => Md5,
);
has sha256 => (
is => 'ro',
isa => Sha256,
);
DESCRIPTION
This module provides common digests types for Moose, Moo, etc.
SUBTYPES
Md5
Sha1
Sha224
Sha256
Sha384
Sha512
SEE ALSO
this module is inspired by MooseX::Types::Digest
LICENSE
Copyright (C) Avast Software.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Jan Seidl <seidl@avast.com>