Skip to content
This repository was archived by the owner on Nov 20, 2022. It is now read-only.

Commit

Permalink
Import 2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiebremer committed Jul 7, 2022
1 parent 2eca048 commit ef2a027
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion builder/builder.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$copyrightInfo = '/*
* Crypto-JS v2.5.1
* Crypto-JS v2.5.2
* http://code.google.com/p/crypto-js/
* (c) 2009-2011 by Jeff Mott. All rights reserved.
* http://code.google.com/p/crypto-js/wiki/License
Expand Down
6 changes: 3 additions & 3 deletions src/DES.js
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@
* DES cipher
*/
var DES = C.DES = {
_blockSize : 2,
_blocksize : 2,

_keyschedule : null,

Expand Down Expand Up @@ -944,7 +944,7 @@
return (options && options.asBytes) ? m : util.bytesToBase64(m);
},

_encryptBlock : function(message, offset) {
_encryptblock : function(message, offset) {
this._state.initialPerm(message, offset);
for ( var i = 0; i <= 15; i++) {
this._state.round(this._keyschedule.getKey(i));
Expand Down Expand Up @@ -989,7 +989,7 @@
return (options && options.asBytes) ? c : UTF8.bytesToString(c);
},

_decryptBlock : function(message, offset) {
_decryptblock : function(message, offset) {
this._state.initialPerm(message, offset);
for ( var i = 15; i >= 0; i--) {
this._state.round(this._keyschedule.getKey(i));
Expand Down

0 comments on commit ef2a027

Please sign in to comment.