/** * Create a hash from input string * @param encoding digest encoding * @returns hash (default) or null (if no data provided) */ declare const hash: (data: string, algorithm?: string, encoding?: 'base64' | 'base64url' | 'hex') => string | null; export default hash;