debian/tests/test_modules/@tufjs/repo-mock/dist/crypto.d.ts
raw| 1 | import crypto from 'crypto'; |
| 2 | export type { KeyObject } from 'crypto'; |
| 3 | export declare function generateKeyPair(): crypto.KeyPairKeyObjectResult; |
| 4 | export declare function digestSHA256(data: crypto.BinaryLike): string; |
| 5 | export declare function signSHA256(key: crypto.KeyObject, data: Buffer): string; |