Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
move datatable to yarn
Commit Description:
move datatable to yarn
;( function ( root , factory , undef ) {
if ( typeof exports === "object" ) {
// CommonJS
module . exports = exports = factory ( require ( "./core" ), require ( "./cipher-core" ));
}
else if ( typeof define === "function" && define . amd ) {
// AMD
define ([ "./core" , "./cipher-core" ], factory );
}
else {
// Global (browser)
factory ( root . CryptoJS );
}
}( this , function ( CryptoJS ) {
/**
* ISO 10126 padding strategy.
*/
CryptoJS . pad . Iso10126 = {
pad : function ( data , blockSize ) {
// Shortcut
var blockSizeBytes = blockSize * 4 ;
// Count padding bytes
var nPaddingBytes = blockSizeBytes - data . sigBytes % blockSizeBytes ;
// Pad
data . concat ( CryptoJS . lib . WordArray . random ( nPaddingBytes - 1 )).
concat ( CryptoJS . lib . WordArray . create ([ nPaddingBytes << 24 ], 1 ));
},
unpad : function ( data ) {
// Get number of padding bytes from last byte
var nPaddingBytes = data . words [( data . sigBytes - 1 ) >>> 2 ] & 0xff ;
// Remove padding
data . sigBytes -= nPaddingBytes ;
}
};
return CryptoJS . pad . Iso10126 ;
}));
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings