import { DecipherInstance, DecipherOK, DecipherResult, Status } from '~/decrypt-worker/Deciphers.ts'; export class TransparentDecipher implements DecipherInstance { cipherName = 'none'; async decrypt(buffer: Uint8Array): Promise { return { cipherName: 'None', status: Status.OK, data: buffer, message: 'No decipher applied', }; } public static make() { return new TransparentDecipher(); } }