Files
DefinitelyTyped/types/crypto-js
Scott cbf3ed6074 AES encrypt also allows word arrays (#27569)
the following code will execute fine, but typescript doesn't recognize it as valid

var input = CryptoJS.lib.WordArray.create(new Uint8Array(5));    
    var encrypted = CryptoJS.AES.encrypt(input, secretKeyString, {
      iv: CryptoJS.enc.Hex.parse('00000000000000000000000000000000'),
      mode: CryptoJS.mode.CBC,
      padding: CryptoJS.pad.Pkcs7
    });
2018-07-25 09:07:20 -07:00
..