# crypto

> Dart's official package for SHA, MD5 and HMAC hashing

Source: https://talira.ai/catalog/crypto-z9bcnpbd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / cryptography](https://talira.ai/categories/libraries/cryptography), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: BSD-3-Clause[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^2]

crypto is the Dart team's package of cryptographic hash functions for Dart and Flutter: SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256 and MD5, plus HMAC with any of them. It hashes a list of bytes in one call or chunked input through a conversion sink, and returns a Digest as bytes or a hex string. It's part of the dart-lang/core repository and published on pub.dev by dart.dev.

## Links

- GitHub: https://github.com/dart-lang/core
- Docs: https://pub.dev/documentation/crypto/latest/

## Problems it solves

- compute a SHA-256 hash of a string in Dart or Flutter
- generate an HMAC-SHA256 signature for an API request from Dart
- get the MD5 checksum of a file in a Flutter app
- hash large data in chunks in Dart without loading it all into memory

## Features

- SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512
- SHA-512/224 and SHA-512/256
- MD5
- HMAC with any supported hash
- Chunked hashing through a conversion sink
- Digest as bytes or a hex string

## Trust

Overall: 0.55 out of 1.
Signals: maintenance 0.83, adoption 0.38, momentum 0.17, community 0.88, backing 0.55, extensibility 0.00.

- last commit 6 days ago
- 35 commits in the last 90 days
- latest release os_detect-v2.0.4 23 days ago
- 77 GitHub stars
- 160 contributors
- backed by Google
- funding: public company (NASDAQ:GOOGL)

## Related

- Works with [Dart](https://talira.ai/catalog/dart-3askvstd.md)

## Sources

[^1]: https://github.com/dart-lang/core/blob/main/pkgs/crypto/LICENSE (checked 26 Nov 2026)
[^2]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
