[Home](./index.md) > [bitburner](./bitburner.md) > [Hacknet](./bitburner.hacknet.md) > [numHashes](./bitburner.hacknet.numhashes.md)
## Hacknet.numHashes() method
Get the total number of hashes stored.
Signature:
```typescript
numHashes(): number;
```
Returns:
number
Number of hashes you have.
## Remarks
RAM cost: 0 GB
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).
Returns the number of hashes you have.