10 lines
414 B
Plaintext
10 lines
414 B
Plaintext
import type { COSEALG } from '../../cose.js';
|
|
import type { Uint8Array_ } from '../../../types/index.js';
|
|
/**
|
|
* Generate a digest of the provided data.
|
|
*
|
|
* @param data The data to generate a digest of
|
|
* @param algorithm A COSE algorithm ID that maps to a desired SHA algorithm
|
|
*/
|
|
export declare function digest(data: Uint8Array_, algorithm: COSEALG): Promise<Uint8Array_>;
|
|
//# sourceMappingURL=digest.d.ts.map |