Skip to content

Commit 73e4b8d

Browse files
save file
1 parent a7ea958 commit 73e4b8d

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

blog/26-04-26/x509-certificates-in-js---encrypt-decrypt-data/x509-certificates-in-js---encrypt-decrypt-data.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171

7272
<blog-hdr v2.0 component=grp1>
73-
<h1 class=title>
73+
<h1 slot=title class=title>
7474
x509 Certificates in Javascript : Encrypt / Decrypt Data
7575
</h1>
7676
<time slot=date datetime=2026-04-26>
@@ -100,9 +100,17 @@ <h1 class=title>
100100
AES symmetric key and together with the encryption parameters decrypts the payload.
101101
key
102102
<br>
103-
The procedure follows this process because, AES symmetric key encryption is quick and easy. The mathematics
104-
of RSA encryption only allows for small amount of information to be encrypted
103+
The procedure is used because, AES symmetric key encryption is quick and easy. The mathematics
104+
of RSA encryption only allows for small amount of information to be encrypted.
105105
</p>
106+
<ul>
107+
<li>
108+
2048 bit RSA key => ~ 190 Bytes of encrypted payload
109+
</li>
110+
<li>
111+
4096 bit RSA key => ~ 340 Bytes of encrypted payload
112+
</li>
113+
</ul>
106114
</div>
107115

108116

@@ -135,7 +143,7 @@ <h4>
135143

136144
<div>
137145

138-
for use in the browser
146+
RSA encrypt / decrypt in the browser
139147

140148
</div>
141149

@@ -144,7 +152,7 @@ <h4>
144152

145153
<div>
146154

147-
for use in nodejs
155+
RSA encrypt / decrypt in nodejs
148156

149157
</div>
150158

0 commit comments

Comments
 (0)