Linux crypt function 1. Crypt definition
#define _XOPEN_SOURCE/* See Feature_test_macros (7) */#include Char *crypt (const char *key, const char *salt);
Above is the definition of crypt function seen by Man 3 crypt.See from the
How to Use DM-Crypt to encrypt a Linux File System?
Readers often ask us how to implement a file system encryption method for Linux. Before discussing this topic in depth, I would like to clarify two points:
First, it is difficult to find enough
Learn crypt ()
As long as there is a bit of experience with non-Windows platform readers can be quite familiar with crypt (), this function is called one-way encryption function, it can encrypt some plaintext, but not in turn, the password is
"Summary" as long as a bit of the experience of using a non-Windows platform may be familiar to crypt (), this function is called one-way encryption function, it can encrypt some of the code, but can not in turn to convert the password to the
Understanding Crypt ()
As long as you have a bit of experience with a non-Windows platform may be familiar to crypt (), this function is called one-way encryption function, it can encrypt some of the code, but can not reverse the password back to
If you do not want to develop new encryption algorithms for PHP applications, you can use the crypt () function provided by PHP to complete one-way encryption ()
Anyone who has experience using a non-Windows platform may be familiar with crypt ().
Understanding crypt ()
Anyone who has experience using a non-Windows platform may be familiar with crypt (). This function is called one-way encryption and can encrypt some plain codes, however, the password cannot be converted to the original
Understanding crypt ()Anyone who has experience using a non-Windows platform may be familiar with crypt (). This function is called one-way encryption and can encrypt some plain codes, however, the password cannot be converted to the original
If you do not want to develop new encryption algorithms for PHP applications, you can use the crypt () function provided by PHP to complete one-way encryption ()
Anyone who has experience using a non-Windows platform may be familiar with crypt ().
If you do not want to develop new encryption algorithms for PHP applications, you can use the crypt () function provided by PHP to complete one-way encryption ()
Anyone who has experience using a non-Windows platform may be familiar with crypt ().
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.