パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v3.0.8

crypto

SHA、MD5、およびHMAC暗号関数の実装。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
1930万
いいね数
1900
Pub ポイント
160

パッケージをインストール

flutter pub add crypto

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

crypto パッケージは、Dart で広く使用されている暗号関数(SHA、MD5、HMAC など)の実装を提供します。安全なデータ処理を目的としており、開発者がデータをハッシュ化し、メッセージ認証コードを生成し、複数のプラットフォーム間でデータの整合性を保証できるようにしています。このパッケージは Dart チームによってメンテナンスされており、Flutter アプリケーションにシームレスに統合できます。Android、iOS、Web、macOS、Windows、Linux のすべての主要プラットフォームをサポートしており、クロスプラットフォームでのセキュリティ要件に最適です。

用途

  • 整合性チェックのためのデータハッシュ
  • 塩付きハッシュを用いた安全なパスワード保存
  • API認証のためのHMAC署名を生成する
  • 保存前に機密データを暗号化する
  • デジタル署名の検証
  • セキュアなセッショントークンの実装

主な機能

  • SHA-1、SHA-256、SHA-384、SHA-512 をサポート
  • MD5ハッシュの提供(レガシー互換性用)
  • 任意のハッシュ関数を使用したHMAC実装
  • クロスプラットフォーム互換性
  • 軽量で良好にメンテナンスされています
  • シンプルで一貫性のある API

適している対象

  • データ整合性検証を必要とするアプリケーション
  • セキュアなハッシュが必要なバックエンドサービス
  • ユーザー資格情報を扱うモバイルアプリ
  • 安全な通信を強制するWebアプリケーション
  • 認証システムを構築する開発者

注意事項

  • MD5 は暗号的に弱いです。セキュリティに重要な用途では避けてください。
  • SHA-1は非推奨です。SHA-256またはそれ以上のバージョンを使用してください。
  • 完全な暗号化には適していません。専用の暗号化ライブラリを使用してください。
  • HMACには鍵の管理に注意が必要です
  • ハッシュおよびMAC操作に限定され、完全な暗号スイートではない

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

ランキング