Recommend this page to a friend! |
Classes of Lukas Mestan | Time Lock Crypt | README.md | Download |
|
DownloadTime Lock Encryption ClassImplementation of timed-release crypto. This class can encrypt data using key generated for a time period. It takes an expression that defines a given time period and generates a key by creating iteratively hashes of the initial key in a cycle until the specified time as passed. The class returns the encrypted data using the Fernet class with the generated key. It can also decrypt previously encrypted data by regenerating the encryption key the same number of iterations that it were used to generate the key when the data was encrypted. Requirements
InstallationYou can install this library by using [Composer]. You can also view more info about this on [Packagist]. Add this to the
Usage
|