Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updated Changes file
  • Loading branch information
kraih committed Sep 5, 2012
1 parent 23b5829 commit b553615
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -3,6 +3,7 @@
- Added xor_encode method to Mojo::ByteStream.
- Added xor_encode function to Mojo::Util.
- Improved documentation.
- Fixed small xor_encode bug. (dod, crab)

3.37 2012-09-04
- Added finish method to Mojo::Message.
Expand Down
2 changes: 2 additions & 0 deletions lib/Mojo/Util.pm
Expand Up @@ -324,6 +324,8 @@ sub xml_escape {

sub xor_encode {
my ($input, $key) = @_;

# Encode with variable key length
my $len = length $key;
my $buffer = my $output = '';
$output .= $buffer ^ $key
Expand Down
2 changes: 2 additions & 0 deletions lib/Mojolicious.pm
Expand Up @@ -784,6 +784,8 @@ Dmitriy Shalashov
Dmitry Konstantinov
Dominique Dumont
Douglas Christopher Wilson
Eugene Toropov
Expand Down

0 comments on commit b553615

Please sign in to comment.