Class EncryptCredentials
java.lang.Object
co.ankatech.ankasecure.sdk.examples.EncryptCredentials
One-shot utility: encrypts a clientId + clientSecret using the same
PBKDF2 + AES-GCM scheme as
ExampleUtil and prints the four
lines that must be pasted into cli.properties.
Usage:
mvn compile -DskipTests -Dproguard.skip=true -q
mvn exec:java -Dexec.mainClass="co.ankatech.ankasecure.sdk.examples.EncryptCredentials" \
-Dexec.args="<clientId> <clientSecret>"
-
Method Summary
-
Method Details
-
main
- Throws:
Exception
-