Skip to main content
getHashes - node__crypto.d.ts - Node documentation
function getHashes

Usage in Deno

```typescript import { getHashes } from "node:node__crypto.d.ts"; ```
getHashes(): string[]
```js const { getHashes, } = await import('node:crypto'); console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...] ```

Return Type

string[]
An array of the names of the supported hash algorithms, such as `'RSA-SHA256'`. Hash algorithms are also called "digest" algorithms.