Asper Header  1.0.22
The header injector extension
Loading...
Searching...
No Matches
ciphers.test.ts File Reference

Smoke hardening for ciphers module (previously 0% coverage) More...

Go to the source code of this file.

Variables

import *as assert from assert
 
 import { Cipher, ALLCiphers } from '../modules/ciphers'
 

Detailed Description

Smoke hardening for ciphers module (previously 0% coverage)

Author
Henry Letellier
Version
1.0.22
Since
1.0.22
Date
2025

The entire src/modules/ciphers/** (30 flavoured ciphers) had no tests. This suite adds the cheapest hardening: registry smoke + round-trip for deterministic ciphers. It catches missing export, broken CipherName, or encode/decode throwing after refactor.

Definition in file ciphers.test.ts.

Variable Documentation

◆ assert

import* as assert from assert

Definition at line 15 of file ciphers.test.ts.

◆ import

import { Cipher, ALLCiphers } from '../modules/ciphers'

Definition at line 16 of file ciphers.test.ts.