Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasei/types-digest
https://github.com/jasei/types-digest
module moo moose perl perl5
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/jasei/types-digest
- Owner: JaSei
- License: other
- Created: 2016-09-14T21:09:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-15T11:17:37.000Z (over 8 years ago)
- Last Synced: 2024-11-06T02:50:01.835Z (about 2 months ago)
- Topics: module, moo, moose, perl, perl5
- Language: Perl
- Homepage: https://metacpan.org/pod/Types::Digest
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/JaSei/Types-Digest.svg?branch=master)](https://travis-ci.org/JaSei/Types-Digest)
# NAMETypes::Digest - digests types for Moose and Moo
# SYNOPSIS
package Foo;
use Moose;
use Types::Digest qw/Md5 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
[MD5](https://en.wikipedia.org/wiki/MD5)
## Sha1
[SHA-1](https://en.wikipedia.org/wiki/SHA-1)
## Sha224
[SHA-2](https://en.wikipedia.org/wiki/SHA-2)
## Sha256
[SHA-2](https://en.wikipedia.org/wiki/SHA-2)
## Sha384
[SHA-2](https://en.wikipedia.org/wiki/SHA-2)
## Sha512
[SHA-2](https://en.wikipedia.org/wiki/SHA-2)
# SEE ALSO
this module is inspired by [MooseX::Types::Digest](https://metacpan.org/pod/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