패키지, 저장소 및 앱 카테고리 검색

패키지 상세v3.0.8

crypto

SHA, MD5 및 HMAC 암호 기능의 구현.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1930만
좋아요
1.9천
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

적합한 대상

  • 데이터 무결성 검증이 필요한 응용 프로그램
  • 보안 해싱이 필요한 백엔드 서비스
  • 사용자 자격 증명을 처리하는 모바일 앱
  • 안전한 통신을 강제하는 웹 애플리케이션
  • 인증 시스템을 구축하는 개발자

고려 사항

  • 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.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

순위