A pre-built encrypted message for testing decryption flows.
import type { TestEncryptedMessage } from "@sebastienrousseau/crypto-testing";const msg: TestEncryptedMessage = createTestEncryptedMessage();console.log(msg.ciphertext, msg.algorithm); Copy
import type { TestEncryptedMessage } from "@sebastienrousseau/crypto-testing";const msg: TestEncryptedMessage = createTestEncryptedMessage();console.log(msg.ciphertext, msg.algorithm);
The key used for encryption (hex).
The original plaintext.
The mock-encrypted ciphertext (hex).
Algorithm identifier.
A pre-built encrypted message for testing decryption flows.
Example