定制 doctrineencryptbundle/doctrine-encrypt-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

doctrineencryptbundle/doctrine-encrypt-bundle

最新稳定版本:6.0.0

Composer 安装命令:

composer require doctrineencryptbundle/doctrine-encrypt-bundle

包简介

Encrypted symfony entity's by verified and standardized libraries

README 文档

README

Logo

Build status License Latest version Latest Unstable Version Total downloads Downloads this month

Introduction

This version of the DoctrineEncryptBundle was initially forked from: integr8rs/DoctrineEncryptBundle

This version was created due to be maintained and managed by a GitHub organization (DoctrineEncryptBundle) due to all previous versions that were installable not being actively maintained any longer. This includes the most popular on as well: michaeldegroot/doctrine-encrypt-bundle

The original bundle created by ambta can be found here: -ambta/DoctrineEncryptBundle

This bundle has updated security by not rolling its own encryption and using verified standardized library's from the field.

Using Halite

All deps are already installed with this package

// Config.yml
ambta_doctrine_encrypt:
    encryptor_class: Halite

Using Defuse

You will need to require Defuse yourself

composer require "defuse/php-encryption ^2.0"

// Config.yml
ambta_doctrine_encrypt:
    encryptor_class: Defuse

Secret key

The secret key should be a max 32 byte hexadecimal string ([0-9a-fA-F]).

Secret key is generated if there is no key found. This is automatically generated and stored in the folder defined in the configuration

// Config.yml
ambta_doctrine_encrypt:
    secret_directory_path: '%kernel.project_dir%'   # Default value

Filename example: .DefuseEncryptor.key or .HaliteEncryptor.key

Do not forget to add these files to your .gitignore file, you do not want this on your repository!

Documentation

Demo

Demo-installations can be found in this repository within the demo directory. These demonstrates how to use the various supported encryption and decryption implementations.

统计信息

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

GitHub 信息

  • Stars: 25
  • Watchers: 5
  • Forks: 222
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-17