- Giới thiệu
- Installing/Configuring
- Yêu cầu
- Cài đặt
- Cấu hình thời gian chạy
- Loại tài nguyên
- Hằng số được xác định trước
- McRypt Ciphers
- Chức năng McRypt
- mcrypt_create_iv - tạo một vectơ khởi tạo [iv] từ một nguồn ngẫu nhiên
- mcrypt_decrypt - giải mã mật mã với các tham số đã cho
- mcrypt_enc_get_algorithms_name - Trả về tên của thuật toán đã mở
- mcrypt_enc_get_block_size - Trả về khối khối của thuật toán đã mở
- mcrypt_enc_get_iv_size - Trả về kích thước của IV của thuật toán đã mở
- mcrypt_enc_get_key_size - Trả về các khóa được hỗ trợ tối đa của chế độ đã mở
- mcrypt_enc_get_modes_name - Trả về tên của chế độ đã mở
- mcrypt_enc_get_supported_key_sizes - Trả về một mảng với các khóa được hỗ trợ của thuật toán đã mở
- mcrypt_enc_is_block_algorithm_mode - kiểm tra xem việc mã hóa chế độ đã mở có hoạt động trên các khối
- mcrypt_enc_is_block_algorithm - kiểm tra xem thuật toán của chế độ mở có phải là thuật toán khối
- mcrypt_enc_is_block_mode - Kiểm tra xem chế độ mở đầu ra các khối
- mcrypt_enc_elf_test - chạy thử nghiệm bản thân trên mô -đun đã mở
- mcrypt_encrypt - mã hóa bản rõ với các tham số đã cho
- mcrypt_generic_deinit - Chức năng này khử hóa mô -đun mã hóa
- mcrypt_generic_init - chức năng này khởi tạo tất cả các bộ đệm cần thiết để mã hóa
- mcrypt_generic - chức năng này mã hóa dữ liệu
- mcrypt_get_block_size - có được kích thước khối của mật mã được chỉ định
- mcrypt_get_code_name - lấy tên của mật mã được chỉ định
- mcrypt_get_iv_size - Trả về kích thước của IV thuộc kết hợp mật mã/chế độ cụ thể
- mcrypt_get_key_size - có kích thước chính của mật mã được chỉ định
- mcrypt_list_algorithms - nhận được một mảng tất cả các mật mã được hỗ trợ
- mcrypt_list_modes - nhận được một mảng tất cả các chế độ được hỗ trợ
- McRypt_module_close - Đóng mô -đun McRypt
- mcrypt_module_get_algo_block_size - Trả về khối khối của thuật toán được chỉ định
- mcrypt_module_get_algo_key_size - Trả về các khóa hỗ trợ tối đa của chế độ đã mở
- mcrypt_module_get_supported_key_sizes - Trả về một mảng với các khóa được hỗ trợ của thuật toán đã mở
- mcrypt_module_is_block_algorithm_mode - Trả về nếu mô -đun được chỉ định là thuật toán khối hoặc không
- mcrypt_module_is_block_algorithm - Hàm này kiểm tra xem thuật toán được chỉ định có phải là thuật toán khối
- mcrypt_module_is_block_mode - trả về nếu chế độ được chỉ định xuất ra hoặc không
- mcrypt_module_open - mở mô -đun của thuật toán và chế độ được sử dụng
- mcrypt_module_elf_test - Chức năng này chạy thử nghiệm bản thân trên mô -đun được chỉ định
- mdecrypt_generic - giải mã dữ liệu
Kyle t ¶ ¶
4 năm trước
This was posted before by another user but has been downvoted. I just wanted to confirm that we suffered massive performance issues related to mcrypt on CentOS [PHP 5.6.32] that are not present in other flavors of Linux.
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
For lower traffic website it can be negligible, but when you start seeing significant traffic/load it will quickly bring down a server.
Maarten bất ổn ¶ ¶
12 năm trước
people using phpmyadmin are redirected to this manual if they don't have mcrypt installed. If you want to install mcrypt on debian, first check your php version:
yourserver# php --version
Then install the appropriate version of mcrypt [php5-mcrypt if your php version is 5.x]
yourserver# apt-get install php4-mcrypt
...or...
yourserver# apt-get install php5-mcrypt
Ẩn danh ¶ ¶
10 năm trước
These are two simple functions I built for 256-bit encryption/decryption with mcrypt. I've decided to use MCRYPT_RIJNDAEL_128 because it's AES-compliant, and MCRYPT_MODE_CBC. [ECB mode is inadequate for many purposes because it does not use an IV.]
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
0
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
1
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
2
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
3
Ghoffman tại salientdigital dot com ¶
11 năm trước
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
4
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
5
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
6
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
7
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
8Daniel Esteve ¶ ¶
5 năm trước
A sampling of 25,000 encrypts/decrypts takes 4-5x longer when running mcrypt on Centos 7 as compared to Ubuntu. Switching out mcrypt for OpenSSL on Centos will result in a massive increase in performance.
9