åå¶ Digest::SHA1 - SHA-1ã¢ã«ã´ãªãºã ã¸ã®Perlã¤ã³ã¿ã¼ãã§ã¼ã¹ æ¦è¦Â¶ # é¢æ°å½¢å¼ use Digest::SHA1 qw(sha1 sha1_hex sha1_base64); $digest = sha1($data); $digest = sha1_hex($data); $digest = sha1_base64($data); # OOå½¢å¼ use Digest::SHA1; $ctx = Digest::SHA1->new; $ctx->add($data); $ctx->addfile(*FILE); $digest = $ctx->digest; $digest = $ctx->hexdigest; $digest = $ctx->b64digest; 説æ¶ Digest::SHA1ã¢ã¸ã¥ã¼ã«ã¯NIST SHA-1ã¡ãã»ã¼ã¸ã»ãã¤ã¸ã§ã¹ãã»ã¢ã«
{{#tags}}- {{label}}
{{/tags}}