我无法解释laravel 5中的Crypto-js加密值。
Angular js代码:
var user1 = CryptoJS.AES.encrypt($scope.form.user, $rootScope.base64Key, { iv: $rootScope.iv });
var pass1 = CryptoJS.AES.encrypt($scope.form.password, $rootScope.base64Key, { iv: $rootScope.iv });
Laravel 5代码:
$user = Crypt::decrypt(Input::get('usr'));
$password = Crypt::decrypt(Input::get('pass'));
错误: