Skip to content

Commit f102460

Browse files
committed
Site updated: 2017-04-11 09:09:51
1 parent bcc2c4d commit f102460

File tree

6 files changed

+34
-34
lines changed

6 files changed

+34
-34
lines changed

2017/04/10/Jwt-介绍/index.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<meta property="og:description" content="Jwt是什么? Jwt的全称是JSON Web Token(JWT)是一种开放标准(RFC 7519),它定义了一种紧凑且独立的方式,用于将各方之间的信息安全地传输为JSON对象。 该信息可以通过数字签名进行验证和信任。 使用加密(使用HMAC算法)或使用RSA的公钥/私钥对可以对JWT进行签名。 Jwt特点: 紧凑: 因为它们的尺寸较小,所以JWTs可以通过URL,POST参数,或HTT">
9797
<meta property="og:image" content="https://cdn.auth0.com/content/jwt/encoded-jwt3.png">
9898
<meta property="og:image" content="https://cdn.auth0.com/content/jwt/jwt-diagram.png">
99-
<meta property="og:updated_time" content="2017-04-10T16:16:55.320Z">
99+
<meta property="og:updated_time" content="2017-04-11T01:06:21.699Z">
100100
<meta name="twitter:card" content="summary">
101101
<meta name="twitter:title" content="Jwt 介绍">
102102
<meta name="twitter:description" content="Jwt是什么? Jwt的全称是JSON Web Token(JWT)是一种开放标准(RFC 7519),它定义了一种紧凑且独立的方式,用于将各方之间的信息安全地传输为JSON对象。 该信息可以通过数字签名进行验证和信任。 使用加密(使用HMAC算法)或使用RSA的公钥/私钥对可以对JWT进行签名。 Jwt特点: 紧凑: 因为它们的尺寸较小,所以JWTs可以通过URL,POST参数,或HTT">
@@ -200,7 +200,7 @@
200200

201201
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
202202

203-
Home
203+
Startseite
204204
</a>
205205
</li>
206206

@@ -210,7 +210,7 @@
210210

211211
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
212212

213-
Archives
213+
Archiv
214214
</a>
215215
</li>
216216

@@ -287,7 +287,7 @@ <h1 class="post-title" itemprop="name headline">
287287
<i class="fa fa-calendar-o"></i>
288288
</span>
289289

290-
<span class="post-meta-item-text">Posted on</span>
290+
<span class="post-meta-item-text">Veröffentlicht am</span>
291291

292292
<time title="Post created" itemprop="dateCreated datePublished" datetime="2017-04-10T22:08:49+08:00">
293293
2017-04-10
@@ -381,7 +381,7 @@ <h1 id="如何使用JWT?"><a href="#如何使用JWT?" class="headerlink" tit
381381
<h1 id="为什么要使用JWT?"><a href="#为什么要使用JWT?" class="headerlink" title="为什么要使用JWT?"></a>为什么要使用JWT?</h1><p>相比XML格式,JSON更加简洁,编码之后更小,这使得JWT比SAML更加简洁,更加适合在HTML和HTTP环境中传递。</p>
382382
<p>在安全性方面,SWT只能够使用HMAC算法和共享的对称秘钥进行签名,而JWT和SAML token则可以使用X.509认证的公私秘钥对进行签名。与简单的JSON相比,XML和XML数字签名会引入复杂的安全漏洞。</p>
383383
<p>因为JSON可以直接映射为对象,在大多数编程语言中都提供了JSON解析器,而XML则没有这么自然的文档-对象映射关系,这就使得使用JWT比SAML更方便。</p>
384-
<p>原文: <a href="[https://jwt.io/introduction/">Introduction to JSON Web Tokens</a></p>
384+
<p>原文: <a href="https://jwt.io/introduction/" target="_blank" rel="external">Introduction to JSON Web Tokens</a></p>
385385

386386

387387
</div>
@@ -459,10 +459,10 @@ <h1 id="为什么要使用JWT?"><a href="#为什么要使用JWT?" class="hea
459459

460460
<ul class="sidebar-nav motion-element">
461461
<li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
462-
Table of Contents
462+
Inhaltsverzeichnis
463463
</li>
464464
<li class="sidebar-nav-overview" data-target="site-overview">
465-
Overview
465+
Übersicht
466466
</li>
467467
</ul>
468468

@@ -483,7 +483,7 @@ <h1 id="为什么要使用JWT?"><a href="#为什么要使用JWT?" class="hea
483483
<div class="site-state-item site-state-posts">
484484
<a href="/archives">
485485
<span class="site-state-item-count">1</span>
486-
<span class="site-state-item-name">posts</span>
486+
<span class="site-state-item-name">Artikel</span>
487487
</a>
488488
</div>
489489

@@ -553,7 +553,7 @@ <h1 id="为什么要使用JWT?"><a href="#为什么要使用JWT?" class="hea
553553

554554

555555
<div class="powered-by">
556-
Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
556+
Erstellt mit <a class="theme-link" href="https://hexo.io">Hexo</a>
557557
</div>
558558

559559
<div class="theme-info">

archives/2017/04/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126

127127

128128

129-
<title> Archive | 谢晖的博客 </title>
129+
<title> Archiv | 谢晖的博客 </title>
130130
</head>
131131

132132
<body itemscope itemtype="http://schema.org/WebPage" lang="">
@@ -192,7 +192,7 @@
192192

193193
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
194194

195-
Home
195+
Startseite
196196
</a>
197197
</li>
198198

@@ -202,7 +202,7 @@
202202

203203
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
204204

205-
Archives
205+
Archiv
206206
</a>
207207
</li>
208208

@@ -244,7 +244,7 @@
244244

245245

246246

247-
Um..! 1 post. Keep on posting.
247+
Öhm..! Ein Artikel. Bleib dran.
248248
</span>
249249

250250

@@ -338,7 +338,7 @@ <h1 class="post-title">
338338
<div class="site-state-item site-state-posts">
339339
<a href="/archives">
340340
<span class="site-state-item-count">1</span>
341-
<span class="site-state-item-name">posts</span>
341+
<span class="site-state-item-name">Artikel</span>
342342
</a>
343343
</div>
344344

@@ -392,7 +392,7 @@ <h1 class="post-title">
392392

393393

394394
<div class="powered-by">
395-
Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
395+
Erstellt mit <a class="theme-link" href="https://hexo.io">Hexo</a>
396396
</div>
397397

398398
<div class="theme-info">

archives/2017/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126

127127

128128

129-
<title> Archive | 谢晖的博客 </title>
129+
<title> Archiv | 谢晖的博客 </title>
130130
</head>
131131

132132
<body itemscope itemtype="http://schema.org/WebPage" lang="">
@@ -192,7 +192,7 @@
192192

193193
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
194194

195-
Home
195+
Startseite
196196
</a>
197197
</li>
198198

@@ -202,7 +202,7 @@
202202

203203
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
204204

205-
Archives
205+
Archiv
206206
</a>
207207
</li>
208208

@@ -244,7 +244,7 @@
244244

245245

246246

247-
Um..! 1 post. Keep on posting.
247+
Öhm..! Ein Artikel. Bleib dran.
248248
</span>
249249

250250

@@ -338,7 +338,7 @@ <h1 class="post-title">
338338
<div class="site-state-item site-state-posts">
339339
<a href="/archives">
340340
<span class="site-state-item-count">1</span>
341-
<span class="site-state-item-name">posts</span>
341+
<span class="site-state-item-name">Artikel</span>
342342
</a>
343343
</div>
344344

@@ -392,7 +392,7 @@ <h1 class="post-title">
392392

393393

394394
<div class="powered-by">
395-
Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
395+
Erstellt mit <a class="theme-link" href="https://hexo.io">Hexo</a>
396396
</div>
397397

398398
<div class="theme-info">

archives/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126

127127

128128

129-
<title> Archive | 谢晖的博客 </title>
129+
<title> Archiv | 谢晖的博客 </title>
130130
</head>
131131

132132
<body itemscope itemtype="http://schema.org/WebPage" lang="">
@@ -192,7 +192,7 @@
192192

193193
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
194194

195-
Home
195+
Startseite
196196
</a>
197197
</li>
198198

@@ -202,7 +202,7 @@
202202

203203
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
204204

205-
Archives
205+
Archiv
206206
</a>
207207
</li>
208208

@@ -244,7 +244,7 @@
244244

245245

246246

247-
Um..! 1 post. Keep on posting.
247+
Öhm..! Ein Artikel. Bleib dran.
248248
</span>
249249

250250

@@ -338,7 +338,7 @@ <h1 class="post-title">
338338
<div class="site-state-item site-state-posts">
339339
<a href="/archives">
340340
<span class="site-state-item-count">1</span>
341-
<span class="site-state-item-name">posts</span>
341+
<span class="site-state-item-name">Artikel</span>
342342
</a>
343343
</div>
344344

@@ -392,7 +392,7 @@ <h1 class="post-title">
392392

393393

394394
<div class="powered-by">
395-
Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
395+
Erstellt mit <a class="theme-link" href="https://hexo.io">Hexo</a>
396396
</div>
397397

398398
<div class="theme-info">

css/main.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ pre .javascript .function {
16911691
width: 4px;
16921692
height: 4px;
16931693
border-radius: 50%;
1694-
background: #ff21ff;
1694+
background: #c85ca8;
16951695
}
16961696
.links-of-blogroll {
16971697
font-size: 13px;

index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194

195195
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
196196

197-
Home
197+
Startseite
198198
</a>
199199
</li>
200200

@@ -204,7 +204,7 @@
204204

205205
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
206206

207-
Archives
207+
Archiv
208208
</a>
209209
</li>
210210

@@ -284,7 +284,7 @@ <h1 class="post-title" itemprop="name headline">
284284
<i class="fa fa-calendar-o"></i>
285285
</span>
286286

287-
<span class="post-meta-item-text">Posted on</span>
287+
<span class="post-meta-item-text">Veröffentlicht am</span>
288288

289289
<time title="Post created" itemprop="dateCreated datePublished" datetime="2017-04-10T22:08:49+08:00">
290290
2017-04-10
@@ -380,7 +380,7 @@ <h1 id="如何使用JWT?"><a href="#如何使用JWT?" class="headerlink" tit
380380
<h1 id="为什么要使用JWT?"><a href="#为什么要使用JWT?" class="headerlink" title="为什么要使用JWT?"></a>为什么要使用JWT?</h1><p>相比XML格式,JSON更加简洁,编码之后更小,这使得JWT比SAML更加简洁,更加适合在HTML和HTTP环境中传递。</p>
381381
<p>在安全性方面,SWT只能够使用HMAC算法和共享的对称秘钥进行签名,而JWT和SAML token则可以使用X.509认证的公私秘钥对进行签名。与简单的JSON相比,XML和XML数字签名会引入复杂的安全漏洞。</p>
382382
<p>因为JSON可以直接映射为对象,在大多数编程语言中都提供了JSON解析器,而XML则没有这么自然的文档-对象映射关系,这就使得使用JWT比SAML更方便。</p>
383-
<p>原文: <a href="[https://jwt.io/introduction/">Introduction to JSON Web Tokens</a></p>
383+
<p>原文: <a href="https://jwt.io/introduction/" target="_blank" rel="external">Introduction to JSON Web Tokens</a></p>
384384

385385

386386

@@ -461,7 +461,7 @@ <h1 id="为什么要使用JWT?"><a href="#为什么要使用JWT?" class="hea
461461
<div class="site-state-item site-state-posts">
462462
<a href="/archives">
463463
<span class="site-state-item-count">1</span>
464-
<span class="site-state-item-name">posts</span>
464+
<span class="site-state-item-name">Artikel</span>
465465
</a>
466466
</div>
467467

@@ -515,7 +515,7 @@ <h1 id="为什么要使用JWT?"><a href="#为什么要使用JWT?" class="hea
515515

516516

517517
<div class="powered-by">
518-
Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
518+
Erstellt mit <a class="theme-link" href="https://hexo.io">Hexo</a>
519519
</div>
520520

521521
<div class="theme-info">

0 commit comments

Comments
 (0)