Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
方斌
51business
Commits
501b62d1
Commit
501b62d1
authored
Nov 12, 2019
by
李尚科
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ef964c83
Pipeline
#16217
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
helper.js
app/extend/helper.js
+0
-8
No files found.
app/extend/helper.js
View file @
501b62d1
'use strict'
;
'use strict'
;
const
XML2JS
=
require
(
'xml2js'
);
const
XML2JS
=
require
(
'xml2js'
);
const
crypto
=
require
(
'crypto'
);
const
crypto
=
require
(
'crypto'
);
const
NodeRSA
=
require
(
'node-rsa'
)
module
.
exports
=
{
module
.
exports
=
{
...
@@ -119,13 +118,6 @@ module.exports = {
...
@@ -119,13 +118,6 @@ module.exports = {
return
encrypt_data
;
return
encrypt_data
;
},
},
rsaSign
()
{
},
rsaVerify
()
{
},
aes256_cbc_decrypt_weixin
(
key
,
crypted
)
{
aes256_cbc_decrypt_weixin
(
key
,
crypted
)
{
let
aesKey
=
Buffer
.
from
(
key
+
'='
,
'base64'
);
let
aesKey
=
Buffer
.
from
(
key
+
'='
,
'base64'
);
const
cipherEncoding
=
'base64'
;
const
cipherEncoding
=
'base64'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment