You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
414 B

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