angrybytes/hash 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

angrybytes/hash

Composer 安装命令:

composer require angrybytes/hash

包简介

Object Oriented hash interface

README 文档

README

Author Software License [Build Status

A simple PHP library that simplifies cryptographical hashing. It provides an object-oriented interface to a variety of hashing methods.

Requirements

  • PHP 8.2, 8.3 or PHP 8.4 (recommended)

Installation

Installation is done via Composer: composer require angrybytes/hash.

Components

Hash

AngryBytes\Hash\Hash is the main hasher class and acts as a helper wrapper around hashers (i.e. AngryBytes\Hash\HasherInterface implementations).

Some of the main features of this component:

  • Hash strings and/or passwords.
  • Create short hashes (e.g. used for identification).
  • Compare strings/hashes using a time-safe method.
  • Verify a string against a hash using the configured hasher.

Hashers

This library comes with a set of hashers to be utilized by this hash component (or to be used on their own):

  • AngryBytes\Hash\Hasher\BlowFish
  • AngryBytes\Hash\Hasher\MD5
  • AngryBytes\Hash\Hasher\Password

HMAC

AngryBytes\Hash\HMAC can be used to generate HMAC's for string messages.

Contributing

Before contributing to this project, please read the contributing notes.

License

Please refer to the license file.

统计信息

  • 总下载量: 48.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 5
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-02-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固