UNPKG

@tigthor/kokocrypt

Version:

Enhanced Fortress Edition - Secure, quantum-resistant, high-performance encryption package

10 lines (9 loc) 368 B
import { KeyProvider, KeyResult } from './key-provider'; export declare class EnvKeyProvider extends KeyProvider { private currentKey; private keys; getCurrentKey(): Promise<KeyResult>; getKey(kid: string): Promise<Buffer | null>; rotateKeys(): Promise<void>; storeKey(key: Buffer, algorithm: string, expiresAt?: number): Promise<KeyResult>; }