https://github.com/ammarfaizi2/teacrypt
Teacrypt Encryption
https://github.com/ammarfaizi2/teacrypt
decryption encryption security security-tools whitehat
Last synced: 2 months ago
JSON representation
Teacrypt Encryption
- Host: GitHub
- URL: https://github.com/ammarfaizi2/teacrypt
- Owner: ammarfaizi2
- License: bsd-3-clause
- Created: 2017-05-29T12:51:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T06:31:36.000Z (over 8 years ago)
- Last Synced: 2025-07-09T14:09:43.507Z (3 months ago)
- Topics: decryption, encryption, security, security-tools, whitehat
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Teacrypt
## Encryption solution
## Keunggulan Teacrypt
- Proses enkripsi menggunakan salt. Sehingga hasil enkripsi selalu berbeda walaupun dengan key yang sama.
- Hasil enkripsi dicompress dengan gzdeflate.
- Hasil compress akan diencode dengan base64. Sehingga hasil return akhir selalu printable.
- Hasil dekripsi selalu sama seperti semula jika didekripsi dengan key yang sama.### Contoh
```php
($encrypted_string1 == $encrypted_string2),
"encrypted_string" => array($encrypted_string1, $encrypted_string2),
"decrypted_string" => array($decrypted_string2, $decrypted_string2)
));```
Akan menghasilkan
```
array(3) {
["hasil kesamaan enkripsi 1 dan 2"]=>
bool(false)
["encrypted_string"]=>
array(2) {
[0]=>
string(24) "LikCOgUyUFLUmnwMlHXlmLAA"
[1]=>
string(24) "rUjyKKDi3WLS3zadlPndULAA"
}
["decrypted_string"]=>
array(2) {
[0]=>
string(11) "hello world"
[1]=>
string(11) "hello world"
}
}
```## Installation
Add composer.json```json
{
"require": {
"ammarfaizi2/teacrypt": "1.4"
}
}
```