🔧Utility Class
Class features
All methods are static (no instantiation needed)
URL encode/decode
Base64 encode/decode
AES256 encrypt/decrypt (AES/CBC/PKCS5Padding). The passed secure key is first hashed using SHA-256 to form a 256-bit key. You may use K.getRandomBytes(16) to generate the required initialization vector
ZLIB compress/decompress
Generate hash (MD5, SHA-2 or SHA-3)
Query any DNS record (MX, A, etc.). The MX records are returned in priority order
Delay thread
Get various environment information (JVM version, IP address, hostname, etc.)
Example Delay Thread
Example Encode/Decode
Example Query DNS Server
Example AES-256
Last updated