摘要:
连接mongoose mongoose连接数据库有两种方式 第一种: 'use strict'; const mongoose = require('mongoose'); mongoose.connect('mongodb://localhost:27017/test'); const con = 阅读全文
posted @ 2019-06-27 14:49
追梦的老头
阅读(1442)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>使用jsencrypt执行OpenSSL的RSA加密,解密</title> </head> <!--引入jsencrypt.js--> <script src="https://cd 阅读全文
posted @ 2019-06-27 14:46
追梦的老头
阅读(52861)
评论(1)
推荐(3)
摘要:
你将会收获: js如何加密, 解密 js如何签名, 验签 js和Java交互如何相互解密, 验签(重点) 通过谷歌, 发现jsrsasign库使用者较多. 查看api发现这个库功能很健全. 本文使用方法, 是结合网上千篇一律的博文, 加上我自己查看源码总结出来的. 公用代码: // 公钥 let p 阅读全文
posted @ 2019-06-27 14:45
追梦的老头
阅读(13201)
评论(0)
推荐(0)

浙公网安备 33010602011771号