Skip to content

Commit

Permalink
use hmac_sha1_hex
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 22, 2013
1 parent 501a3aa commit 4d284be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

4.64 2013-12-20
4.64 2013-12-22

4.63 2013-12-19
- Deprecated Mojolicious::secret in favor of Mojolicious::secrets.
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Util.pm
Expand Up @@ -4,7 +4,7 @@ use Mojo::Base 'Exporter';
use Carp qw(carp croak);
use Data::Dumper ();
use Digest::MD5 qw(md5 md5_hex);
use Digest::SHA qw(hmac_sha1 sha1 sha1_hex);
use Digest::SHA qw(hmac_sha1_hex sha1 sha1_hex);
use Encode 'find_encoding';
use File::Basename 'dirname';
use File::Spec::Functions 'catfile';
Expand Down Expand Up @@ -112,7 +112,7 @@ sub get_line {
return $line;
}
sub hmac_sha1_sum { unpack 'H*', hmac_sha1(@_) }
sub hmac_sha1_sum { hmac_sha1_hex(@_) }
sub html_unescape {
my $str = shift;
Expand Down

0 comments on commit 4d284be

Please sign in to comment.