Skip to content

Commit

Permalink
deploy: ffb45c6
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Jul 30, 2023
1 parent 32320cc commit 6fe32e5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
<head><title>@hpke/core test</title></head>
<body>
<script type="module">
import { Kem, Kdf, Aead, CipherSuite } from './src/hpke-core.js';
import { KemId, KdfId, AeadId, CipherSuite } from './src/hpke-core.js';
const kems = [
Kem.DhkemP256HkdfSha256,
Kem.DhkemP384HkdfSha384,
Kem.DhkemP521HkdfSha512,
// Kem.DhkemSecp256K1HkdfSha256,
// Kem.DhkemX25519HkdfSha256,
// Kem.DhkemX448HkdfSha512,
KemId.DhkemP256HkdfSha256,
KemId.DhkemP384HkdfSha384,
KemId.DhkemP521HkdfSha512,
// KemId.DhkemSecp256K1HkdfSha256,
// KemId.DhkemX25519HkdfSha256,
// KemId.DhkemX448HkdfSha512,
];

const kdfs = [
Kdf.HkdfSha256,
Kdf.HkdfSha384,
Kdf.HkdfSha512,
KdfId.HkdfSha256,
KdfId.HkdfSha384,
KdfId.HkdfSha512,
];

const aeads = [
Aead.Aes128Gcm,
Aead.Aes256Gcm,
// Aead.Chacha20Poly1305,
AeadId.Aes128Gcm,
AeadId.Aes256Gcm,
// AeadId.Chacha20Poly1305,
];

globalThis.run = async () => {
Expand Down

0 comments on commit 6fe32e5

Please sign in to comment.