flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
18
VISUALIZACION/node_modules/public-encrypt/index.js
generated
vendored
Executable file
18
VISUALIZACION/node_modules/public-encrypt/index.js
generated
vendored
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
var crypto = require('crypto')
|
||||
if (typeof crypto.publicEncrypt !== 'function') {
|
||||
crypto = require('./browser')
|
||||
}
|
||||
exports.publicEncrypt = crypto.publicEncrypt
|
||||
exports.privateDecrypt = crypto.privateDecrypt
|
||||
|
||||
if (typeof crypto.privateEncrypt !== 'function') {
|
||||
exports.privateEncrypt = require('./browser').privateEncrypt
|
||||
} else {
|
||||
exports.privateEncrypt = crypto.privateEncrypt
|
||||
}
|
||||
|
||||
if (typeof crypto.publicDecrypt !== 'function') {
|
||||
exports.publicDecrypt = require('./browser').publicDecrypt
|
||||
} else {
|
||||
exports.publicDecrypt = crypto.publicDecrypt
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue