• R/O
  • HTTP
  • SSH
  • HTTPS

儲存庫摘要

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

最新提交 RSS

修訂. 時間 作者 訊息
3839a43 2020-05-23 15:32:53 dyknon master dyknon/0.02-1 add vcs info + release
2b8cea4 2020-05-23 15:22:57 dyknon better clean rule
b32071f 2020-05-23 15:18:44 dyknon iro iro
f203000 2020-05-23 14:25:43 dyknon patch: delete not needed
8492a27 2020-05-23 14:16:36 dyknon patches - use Module::Build::XSUtill instead of Module:...
ed96377 2020-05-23 14:03:46 dyknon pristine-tar pristine-tar data for libdigest-blake2-perl_0.02.orig.tar...
610b4a6 2020-05-23 14:03:46 dyknon Update upstream source from tag 'upstream/0.02' Update t...
832ce9f 2020-05-23 14:03:44 dyknon upstream upstream/0.02 New upstream version 0.02
12c6bf6 2020-05-23 13:57:34 dyknon upstream
44154db 2020-05-23 13:51:16 dyknon Initial commit

最近的標籤

名稱 修訂. 時間 作者
dyknon/0.02-1 3839a43 2020-05-23 15:33:59 dyknon
upstream/0.02 832ce9f 2020-05-23 14:03:46 dyknon

分支

名稱 修訂. 時間 作者 訊息
master 3839a43 2020-05-23 15:32:53 dyknon add vcs info + release
pristine-tar ed96377 2020-05-23 14:03:46 dyknon pristine-tar data for libdi...
upstream 832ce9f 2020-05-23 14:03:44 dyknon New upstream version 0.02

README

NAME
    Digest::BLAKE2 - Perl XS interface to the BLAKE2 algorithms

SYNOPSIS
        use Digest::BLAKE2 qw(blake2b blake2b_hex blake2b_base64 blake2b_base64url blake2b_ascii85);

        # blake2b
        print blake2b('Japan Break Industries');
        print blake2b_hex('Japan Break Industries');
        print blake2b_base64('Japan Break Industries');
        print blake2b_base64url('Japan Break Industries');
        print blake2b_ascii85('Japan Break Industries');

        # blake2s
        print Digest::BLAKE2::blake2s('Japan Break Industries');
        print Digest::BLAKE2::blake2s_hex('Japan Break Industries');
        print Digest::BLAKE2::blake2s_base64('Japan Break Industries');
        print Digest::BLAKE2::blake2s_base64url('Japan Break Industries');
        print Digest::BLAKE2::blake2s_ascii85('Japan Break Industries');

        # object interface provided by Digest::base
        my $b = Digest::BLAKE2->new('blake2s');
        $b->add('Japan Break Industries');
        print $b->digest;
        print $b->b64digest;

DESCRIPTION
    The "Digest::BLAKE2" module provides an interface to the BLAKE2 message
    digest algorithm.

    The cryptographic hash function BLAKE2 is an improved version of the
    SHA-3 finalist BLAKE. Like BLAKE or SHA-3, BLAKE2 offers the highest
    security, yet is fast as MD5 on 64-bit platforms and requires at least
    33% less RAM than SHA-2 or SHA-3 on low-end systems.

    BLAKE2 comes in two flavors. BLAKE2b is optimized for 64-bit
    platforms—including NEON-enabled ARMs—and produces digests of any
    size between 1 and 64 bytes. BLAKE2s is optimized for 8- to 32-bit
    platforms and produces digests of any size between 1 and 32 bytes.

    This interface follows the conventions set forth by the "Digest" module.

FUNCTIONS
    None of these functions are exported by default.

  blake2b($data, ...)
  blake2s($data, ...)
    Logically joins the arguments into a single string, and returns its
    BLAKE2 digest encoded as a binary string.

  blake2b_hex($data, ...)
  blake2s_hex($data, ...)
    Logically joins the arguments into a single string, and returns its
    BLAKE2 digest encoded as a hexadecimal string.

  blake2b_base64($data, ...)
  blake2s_base64($data, ...)
    Logically joins the arguments into a single string, and returns its
    BLAKE2 digest encoded as a Base64 string, without any trailing padding.

  blake2b_base64url($data, ...)
  blake2s_base64url($data, ...)
    Logically joins the arguments into a single string, and returns its
    BLAKE2 digest encoded as a urlsafe Base64 string, without any trailing
    padding.

  blake2b_ascii85($data, ...)
  blake2s_ascii85($data, ...)
    Logically joins the arguments into a single string, and returns its
    BLAKE2 digest encoded as a Ascii85 string, without any trailing padding.

SEE ALSO
    "Digest::BLAKE"

    "Digest::BLAKE2b"

    "Digest::BLAKE2s"

AUTHOR
    Tasuku SUENAGA a.k.a. gunyarakun <tasuku-s-cpan ATAT titech.ac>

LICENSE
    Copyright (C) Tasuku SUENAGA a.k.a. gunyarakun

    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.