How maciejlesniak/vxcryptoapi works
This proof-of-concept Vert.x crypto verticle loads AES settings, constructs an AES service, then runs a sample encrypt/decrypt round trip on Vert.x’s blocking executor. AES supports byte and Base64-string APIs using AES/CBC/PKCS5Padding. The source shows a demo verticle rather than an externally exposed request API; wiring beyond startup and the sample round trip is not evidenced.
Main entry points: VxCrypto.java Crypto verticle · AesCryptoService.java AES implementation · config.json AES configuration · CryptoService.java Crypto contract
Components 7
Vert.x runtime
- Crypto verticle
src/main/java/pl/sparkidea/vertx/VxCrypto.java - AES configuration
src/main/java/config/config.json - Blocking executor
Crypto service
- Crypto contract
src/main/java/pl/sparkidea/vertx/services/CryptoService.java - AES implementation
src/main/java/pl/sparkidea/vertx/services/AesCryptoService.java
Other components
- Vert.x deployer
- Java crypto
Connections 7
- Vert.x deployer → Crypto verticle: deploys
- AES configuration → Crypto verticle: provides settings
- Crypto verticle → AES implementation: constructs
- AES implementation → Crypto contract: implements
- Crypto verticle → Blocking executor: dispatches work
- Crypto verticle → AES implementation: encrypts and decrypts
- AES implementation → Java crypto: uses AES cipher