/aes-token-gen

generate aes token (ecb)

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

AES Token Generator

Use

Token token = new Token(SECRET_KEY);

String tokenString = token.token();
String encryptedString = token.encrypt();

Sample

TOKEN : MDMyNzIwMjExNzM4MTA0YTg5MjM4YjdkNjY0ZjUzYTYyM2IyMzIzMzU5YTk3MjpGOTYzWEFQTQ==
MOST  : 032720211738104a89238b7d664f53a623b2323359a972
LEAST : F963XAPM

ENC   : 3ilTU4BquoLjxHBDg5DLq0oBBXhLrB3AlFEeD4ex%2F2JsF31riylSmDZNjRXmyFYl3F3NUCpqKIjtlHbtgl%2FANxoO8X0MI7CjvpRnPf4sN0U%3D

DEC   : MDMyNzIwMjExNzM4MTA0YTg5MjM4YjdkNjY0ZjUzYTYyM2IyMzIzMzU5YTk3MjpGOTYzWEFQTQ==
MOST  : 032720211738104a89238b7d664f53a623b2323359a972
LEAST : F963XAPM

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details