pras / falsifying-uuid
A caesar chiper for falsifying the uuid
1.0.1
2021-10-13 04:03 UTC
Requires
- php: ^7.3|^8.0
README
Simple encryption with caesar chiper method to falsifying the UUID and extra security. Match with Ramsey UUID or Webpatser UUID
Installation
composer require pras/falsifying-uuid
Usage:
Encrypt with parameter (UUID, (int)key):
$false = \Pras\Falsifying\Falsifying::falsify("1a2b3c-2e3b4d-3a4g5g-4j5t6o-5i6u7b", 5);
Decrypt with parameter (Falsified UUID, (int)key):
$true = \Pras\Falsifying\Falsifying::truthy($false, 5);