摘要: 迪菲-赫尔曼 密钥交换算法 p,g 通信双方已知,p是质数,g是p的 primative root(什么鬼 :), 0< g <p Alice: 取一随机数a(私钥), 算 A=g^a mod p, 发给 Bob Bob: 取一随机数b, 算 B=g^b mod p, 发给 Alice 然后两边算共 阅读全文
posted @ 2019-11-07 12:37 北极熊129 阅读(524) 评论(0) 推荐(0)
摘要: centos上安装minikube, vm-driver=none 阅读全文
posted @ 2019-10-23 14:59 北极熊129 阅读(3296) 评论(0) 推荐(0)
摘要: https://www.callicoder.com/java-8-completablefuture-tutorial/CompletableFuture:Asynchronous programming -> non-blocking(task on a seperate thread, so 阅读全文
posted @ 2019-04-04 11:00 北极熊129 阅读(170) 评论(0) 推荐(0)
摘要: - id: admin-service uri: lb://admin-service predicates: - Path=/admin/** - Weight=service1, 90 filters: - SwaggerHeaderFilter - StripPrefix=1 - id: or 阅读全文
posted @ 2019-04-02 16:13 北极熊129 阅读(2052) 评论(0) 推荐(0)
摘要: 跨域 cors spring boot spring security 阅读全文
posted @ 2019-04-01 22:58 北极熊129 阅读(3258) 评论(0) 推荐(1)
摘要: 8 Archietcture and Implementation8.1 Technical Overview8.1.1 Runtime Environment there is no need to place any special configuration files into your j 阅读全文
posted @ 2019-03-24 22:29 北极熊129 阅读(199) 评论(0) 推荐(0)
摘要: 用 postman 删除, 方法:delete url: http://ip:port/eureka/apps/服务名/注册名 服务名: spring.application.name: base, 要大写 注册名:就是eureka里显示的 阅读全文
posted @ 2018-12-13 16:15 北极熊129 阅读(3868) 评论(0) 推荐(1)
摘要: putty 密码提示慢 阅读全文
posted @ 2018-12-05 09:39 北极熊129 阅读(169) 评论(0) 推荐(0)
摘要: 原文: https://www.baeldung.com/spring-security-session1. Overview这里将讲一下 how spring security allows us to control our HTTP sessions这种控制的范围从session timeou 阅读全文
posted @ 2018-09-09 23:30 北极熊129 阅读(1407) 评论(0) 推荐(0)
摘要: 1. ++ and union: 阅读全文
posted @ 2018-08-23 00:43 北极熊129 阅读(97) 评论(0) 推荐(0)